summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builds_coordinator_mongod.cpp
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2020-04-17 11:39:27 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-17 19:17:40 +0000
commit9f01b5403b3eb01f4d8f437fe0ef99910130b7cc (patch)
tree25f4ea542034ce7ff63c8f3311e799e769bc1522 /src/mongo/db/index_builds_coordinator_mongod.cpp
parentc1fad54e1821500fec2121d2e31a591069bc053d (diff)
downloadmongo-9f01b5403b3eb01f4d8f437fe0ef99910130b7cc.tar.gz
SERVER-47378 Resolve TODO for SERVER-37644
Diffstat (limited to 'src/mongo/db/index_builds_coordinator_mongod.cpp')
-rw-r--r--src/mongo/db/index_builds_coordinator_mongod.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/index_builds_coordinator_mongod.cpp b/src/mongo/db/index_builds_coordinator_mongod.cpp
index a4061b24b4f..004b1ba04a6 100644
--- a/src/mongo/db/index_builds_coordinator_mongod.cpp
+++ b/src/mongo/db/index_builds_coordinator_mongod.cpp
@@ -191,8 +191,6 @@ IndexBuildsCoordinatorMongod::startIndexBuild(OperationContext* opCtx,
}
if (statusWithOptionalResult.getValue()) {
- // TODO (SERVER-37644): when joining is implemented, the returned Future will no longer
- // always be set.
invariant(statusWithOptionalResult.getValue()->isReady());
// The requested index (specs) are already built or are being built. Return success
// early (this is v4.0 behavior compatible).