diff options
-rw-r--r-- | src/mongo/db/index_builds_coordinator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_builds_coordinator.cpp b/src/mongo/db/index_builds_coordinator.cpp index c1a978cdf16..96b7c9c99dd 100644 --- a/src/mongo/db/index_builds_coordinator.cpp +++ b/src/mongo/db/index_builds_coordinator.cpp @@ -1347,7 +1347,7 @@ Status IndexBuildsCoordinator::_registerIndexBuild( auto aborted = false; { // We have to lock the mutex in order to read the committed/aborted state. - stdx::unique_lock<Latch> lk(existingIndexBuild->mutex); + stdx::unique_lock<Latch> lkExisting(existingIndexBuild->mutex); ss << " index build state: " << existingIndexBuild->indexBuildState.toString(); if (auto ts = existingIndexBuild->indexBuildState.getTimestamp()) { ss << ", timestamp: " << ts->toString(); |