diff options
author | Benety Goh <benety@mongodb.com> | 2019-07-19 14:24:23 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2019-07-19 14:24:55 -0400 |
commit | ca03514b54e97e6b66e5344a35be3e003d4e9fc8 (patch) | |
tree | 929c92afb37a47f4aed6a47e1d1279fddf013ad4 /src/mongo/db/system_index.cpp | |
parent | d69f63be5b41b5fb26abb54f8dd60c850b70072e (diff) | |
download | mongo-ca03514b54e97e6b66e5344a35be3e003d4e9fc8.tar.gz |
SERVER-42280 add db name argument to IndexBuildsCoordinator::startIndexBuild() and _registerAndSetUpIndexBuild()
This sets ReplIndexBuildState::dbName using the db name provided to startIndexBuild() rather than deriving from
the CollectionCatalog lookup result.
Diffstat (limited to 'src/mongo/db/system_index.cpp')
-rw-r--r-- | src/mongo/db/system_index.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/system_index.cpp b/src/mongo/db/system_index.cpp index a09cc9c64dc..e0e475b2230 100644 --- a/src/mongo/db/system_index.cpp +++ b/src/mongo/db/system_index.cpp @@ -126,6 +126,7 @@ SharedSemiFuture<ReplIndexBuildState::IndexCatalogStats> generateSystemIndexForE IndexBuildsCoordinator::IndexBuildOptions indexBuildOptions = {CommitQuorumOptions(1)}; auto indexBuildFuture = uassertStatusOK(indexBuildsCoord->startIndexBuild(opCtx, + ns.db(), collectionUUID, {indexSpec}, buildUUID, |