diff options
author | Suganthi Mani <suganthi.mani@mongodb.com> | 2020-02-28 15:54:31 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-02 08:02:54 +0000 |
commit | 4628f264e60fd69cd09388e6fca0d3dd1b82f14c (patch) | |
tree | bca64008b3010bfb3500c2e6b4dabfb28d5d8862 /src/mongo/db/catalog/drop_database.cpp | |
parent | a5582fa42435116ab05efcabddf17219fbd573d6 (diff) | |
download | mongo-4628f264e60fd69cd09388e6fca0d3dd1b82f14c.tar.gz |
SERVER-39071 Implements commit quorum for two phase index builds.
Diffstat (limited to 'src/mongo/db/catalog/drop_database.cpp')
-rw-r--r-- | src/mongo/db/catalog/drop_database.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/drop_database.cpp b/src/mongo/db/catalog/drop_database.cpp index 7d6f01eb9dd..64681932fd1 100644 --- a/src/mongo/db/catalog/drop_database.cpp +++ b/src/mongo/db/catalog/drop_database.cpp @@ -177,7 +177,8 @@ Status _dropDatabase(OperationContext* opCtx, const std::string& dbName, bool ab // are none left when we retrieve the exclusive database lock again. while (indexBuildsCoord->inProgForDb(dbName)) { // Sends the abort signal to all the active index builders for this database. - indexBuildsCoord->abortDatabaseIndexBuildsNoWait(dbName, "dropDatabase command"); + indexBuildsCoord->abortDatabaseIndexBuildsNoWait( + opCtx, dbName, "dropDatabase command"); // Now that the abort signals were sent out to the active index builders for this // database, we need to release the lock temporarily to allow those index builders |