summaryrefslogtreecommitdiff
path: root/src/mongo/embedded/index_builds_coordinator_embedded.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/embedded/index_builds_coordinator_embedded.cpp')
-rw-r--r--src/mongo/embedded/index_builds_coordinator_embedded.cpp2
1 files changed, 0 insertions, 2 deletions
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).