summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builds_coordinator.h
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2020-06-04 12:37:15 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-04 17:00:43 +0000
commit0e08b33037f30094e9e213eacfe16fe88b52ff84 (patch)
tree42da2523334f8e097b7576eb0f5639a74639e439 /src/mongo/db/index_builds_coordinator.h
parent37ff80f6234137fd314d00e2cd1ff77cde90ce11 (diff)
downloadmongo-0e08b33037f30094e9e213eacfe16fe88b52ff84.tar.gz
Revert "SERVER-48332 Failed initial sync attempts should abort all in-progress index builds before retrying"
This reverts commit ec28479e742b52c4aa036a804820bbe8aa4afd32.
Diffstat (limited to 'src/mongo/db/index_builds_coordinator.h')
-rw-r--r--src/mongo/db/index_builds_coordinator.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mongo/db/index_builds_coordinator.h b/src/mongo/db/index_builds_coordinator.h
index 62f0e06b338..db8040fd227 100644
--- a/src/mongo/db/index_builds_coordinator.h
+++ b/src/mongo/db/index_builds_coordinator.h
@@ -232,17 +232,6 @@ public:
const std::string& reason);
/**
- * Signals all of the index builds to abort and then waits until the index builds are no longer
- * running. The provided 'reason' will be used in the error message that the index builders
- * return to their callers.
- *
- * Does not require holding locks.
- *
- * Does not stop new index builds from starting. Caller must make that guarantee.
- */
- void abortAllIndexBuildsForInitialSync(OperationContext* opCtx, const std::string& reason);
-
- /**
* Aborts an index build by index build UUID. Returns when the index build thread exits.
*
* Returns true if the index build was aborted or the index build is already in the process of