summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config/configsvr_coordinator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/config/configsvr_coordinator.cpp')
-rw-r--r--src/mongo/db/s/config/configsvr_coordinator.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/s/config/configsvr_coordinator.cpp b/src/mongo/db/s/config/configsvr_coordinator.cpp
index 67d62b1a29c..0cbfecadac1 100644
--- a/src/mongo/db/s/config/configsvr_coordinator.cpp
+++ b/src/mongo/db/s/config/configsvr_coordinator.cpp
@@ -42,7 +42,6 @@
namespace mongo {
MONGO_FAIL_POINT_DEFINE(hangBeforeRunningConfigsvrCoordinatorInstance);
-MONGO_FAIL_POINT_DEFINE(hangAndEndBeforeRunningConfigsvrCoordinatorInstance);
namespace {
@@ -102,10 +101,6 @@ void ConfigsvrCoordinator::interrupt(Status status) noexcept {
SemiFuture<void> ConfigsvrCoordinator::run(std::shared_ptr<executor::ScopedTaskExecutor> executor,
const CancellationToken& token) noexcept {
- if (hangAndEndBeforeRunningConfigsvrCoordinatorInstance.shouldFail()) {
- hangAndEndBeforeRunningConfigsvrCoordinatorInstance.pauseWhileSet();
- return Status::OK();
- }
return ExecutorFuture<void>(**executor)
.then([this, executor, token, anchor = shared_from_this()] {
hangBeforeRunningConfigsvrCoordinatorInstance.pauseWhileSet();