summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2020-05-04 16:34:02 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-05 15:33:35 +0000
commitf46153e37ed956b5d9bcd9b61750b3e158754154 (patch)
tree9cbc9b41bedfeac5bb20572861e0aaec2c27c05d
parenta439fbcb0574493648a7a92a4e91117ba79086ed (diff)
downloadmongo-f46153e37ed956b5d9bcd9b61750b3e158754154.tar.gz
SERVER-47942 IndexBuildsCoordinator::_startIndexBuildForRecovery() sets the index build protocol appropriately
-rw-r--r--src/mongo/db/index_builds_coordinator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/index_builds_coordinator.cpp b/src/mongo/db/index_builds_coordinator.cpp
index b675bbf4871..3d0bec1ecbe 100644
--- a/src/mongo/db/index_builds_coordinator.cpp
+++ b/src/mongo/db/index_builds_coordinator.cpp
@@ -469,6 +469,7 @@ Status IndexBuildsCoordinator::_startIndexBuildForRecovery(OperationContext* opC
}
IndexBuildsManager::SetupOptions options;
+ options.protocol = protocol;
status = _indexBuildsManager.setUpIndexBuild(
opCtx, collection, specs, buildUUID, MultiIndexBlock::kNoopOnInitFn, options);
if (!status.isOK()) {