summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2024-05-25 04:24:24 +1000
committerMongoDB Bot <mongo-bot@mongodb.com>2024-05-24 19:00:00 +0000
commit0a095119d792a0dc719fceb932267f4a33dd51e8 (patch)
tree220c7852b15be246ff773399a5407ab692e0901a
parentf8f2155888faa685c361d2322e69aa33e01e4e75 (diff)
SERVER-60049 Use AtomicLockStats over SingleThreadedLockStats in the locker (#22544)r5.0.27-rc0r5.0.27
GitOrigin-RevId: 49571988f1fea870e803f71a3ef8417173f3fbb1
-rw-r--r--src/mongo/db/concurrency/lock_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/concurrency/lock_state.h b/src/mongo/db/concurrency/lock_state.h
index 4bb786ea02f..e7faf268c97 100644
--- a/src/mongo/db/concurrency/lock_state.h
+++ b/src/mongo/db/concurrency/lock_state.h
@@ -340,7 +340,7 @@ private:
// Per-locker locking statistics. Reported in the slow-query log message and through
// db.currentOp. Complementary to the per-instance locking statistics.
- SingleThreadedLockStats _stats;
+ AtomicLockStats _stats;
// Delays release of exclusive/intent-exclusive locked resources until the write unit of
// work completes. Value of 0 means we are not inside a write unit of work.