summaryrefslogtreecommitdiff
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
parentc1fad54e1821500fec2121d2e31a591069bc053d (diff)
downloadmongo-9f01b5403b3eb01f4d8f437fe0ef99910130b7cc.tar.gz
SERVER-47378 Resolve TODO for SERVER-37644
-rw-r--r--src/mongo/db/index_builds_coordinator_mongod.cpp2
-rw-r--r--src/mongo/embedded/index_builds_coordinator_embedded.cpp2
2 files changed, 0 insertions, 4 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).
diff --git a/src/mongo/embedded/index_builds_coordinator_embedded.cpp b/src/mongo/embedded/index_builds_coordinator_embedded.cpp
index d89da980cf8..1a8dddc2d39 100644
--- a/src/mongo/embedded/index_builds_coordinator_embedded.cpp
+++ b/src/mongo/embedded/index_builds_coordinator_embedded.cpp
@@ -59,8 +59,6 @@ IndexBuildsCoordinatorEmbedded::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).