diff options
author | Eric Milkie <milkie@10gen.com> | 2019-06-05 15:18:19 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2019-06-18 13:19:38 -0400 |
commit | beaa372035ef597e77db2220bb624028417d9ce5 (patch) | |
tree | 53c4b25877c81fa7910aaea309b3220d8689e6d3 /src/mongo/db/index_builds_coordinator_mongod.cpp | |
parent | 0382a804a18aa78690a4d4a247da579d4a12f352 (diff) | |
download | mongo-beaa372035ef597e77db2220bb624028417d9ce5.tar.gz |
SERVER-41462 unlock RSTL for index builds on secondaries
This is safe to do because index builds started on secondaries do not need to synchronize with step up or step down via the RSTL.
Diffstat (limited to 'src/mongo/db/index_builds_coordinator_mongod.cpp')
-rw-r--r-- | src/mongo/db/index_builds_coordinator_mongod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_builds_coordinator_mongod.cpp b/src/mongo/db/index_builds_coordinator_mongod.cpp index 4e9cca08386..b0bea23afa9 100644 --- a/src/mongo/db/index_builds_coordinator_mongod.cpp +++ b/src/mongo/db/index_builds_coordinator_mongod.cpp @@ -78,7 +78,7 @@ void IndexBuildsCoordinatorMongod::shutdown() { _threadPool.shutdown(); // Signal active builds to stop and wait for them to stop. - interruptAllIndexBuilds("Index build interrupted due to shutdown."); + interruptAllIndexBuildsForShutdown("Index build interrupted due to shutdown."); // Wait for active threads to finish. _threadPool.join(); |