summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/concurrency')
-rw-r--r--src/mongo/db/concurrency/lock_manager.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/concurrency/lock_manager.cpp b/src/mongo/db/concurrency/lock_manager.cpp
index 84b3d67f482..e81bc2f46ff 100644
--- a/src/mongo/db/concurrency/lock_manager.cpp
+++ b/src/mongo/db/concurrency/lock_manager.cpp
@@ -846,7 +846,11 @@ LockManager::Partition* LockManager::_getPartition(LockRequest* request) const {
void LockManager::dump() const {
BSONArrayBuilder locks;
_buildLocksArray(getLockToClientMap(getGlobalServiceContext()), true, nullptr, &locks);
- LOGV2(20521, "lock manager dump", "addr"_attr = formatPtr(this), "locks"_attr = locks.arr());
+ LOGV2_OPTIONS(20521,
+ logv2::LogTruncation::Disabled,
+ "lock manager dump",
+ "addr"_attr = formatPtr(this),
+ "locks"_attr = locks.arr());
}
void LockManager::getLockInfoBSON(const std::map<LockerId, BSONObj>& lockToClientMap,