summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp
diff options
context:
space:
mode:
authorGeorge Wangensteen <george.wangensteen@mongodb.com>2021-02-04 16:23:05 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-04 17:45:23 +0000
commit3b4c40b136da419512bf6501655473db552efb11 (patch)
treeafa116d98dd44521a2983b97e0f91dcafa859ab5 /src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp
parentf6119db22f13329a15be3771f732088a06130922 (diff)
downloadmongo-3b4c40b136da419512bf6501655473db552efb11.tar.gz
Revert "SERVER-50656 Add cancellation support to WaitForMajorityService"
This reverts commit da77452821c355346d873a6b31160c101adc60de.
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp b/src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp
index 4e8189d6238..2b9aed54b82 100644
--- a/src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp
+++ b/src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp
@@ -104,7 +104,7 @@ public:
shardTargeter->setFindHostReturnValue(makeHostAndPort(shardId));
}
- WaitForMajorityService::get(getServiceContext()).startup(getServiceContext());
+ WaitForMajorityService::get(getServiceContext()).setUp(getServiceContext());
// onStepUp() relies on the storage interface to create the config.transactions table.
repl::StorageInterface::set(getServiceContext(),