diff options
author | Allison Easton <allison.easton@mongodb.com> | 2021-07-29 12:55:51 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-03 08:34:20 +0000 |
commit | 64a119b69ce7ae34ec7eac15e52ad1a08beb5b08 (patch) | |
tree | 25a7024099282a290c9229efc59f4b508de685b2 /src/mongo/db/s/sharding_ddl_coordinator_service.h | |
parent | 29e7de221b3e32c4a85dbff86e922553a5852ae8 (diff) | |
download | mongo-64a119b69ce7ae34ec7eac15e52ad1a08beb5b08.tar.gz |
SERVER-53283 Remove code that patches up sharding metadata on FCV upgrade/downgrade to/from 4.9
Diffstat (limited to 'src/mongo/db/s/sharding_ddl_coordinator_service.h')
-rw-r--r-- | src/mongo/db/s/sharding_ddl_coordinator_service.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/s/sharding_ddl_coordinator_service.h b/src/mongo/db/s/sharding_ddl_coordinator_service.h index 3f0163ae416..564f3821654 100644 --- a/src/mongo/db/s/sharding_ddl_coordinator_service.h +++ b/src/mongo/db/s/sharding_ddl_coordinator_service.h @@ -63,9 +63,6 @@ public: std::shared_ptr<Instance> getOrCreateInstance(OperationContext* opCtx, BSONObj initialState); - // TODO SERVER-53283 remove the following function after 5.0 became last LTS - void waitForAllCoordinatorsToComplete(OperationContext* opCtx) const; - private: ExecutorFuture<void> _rebuildService(std::shared_ptr<executor::ScopedTaskExecutor> executor, const CancellationToken& token) override; @@ -74,12 +71,6 @@ private: void _afterStepDown() override; size_t _countCoordinatorDocs(OperationContext* opCtx); - // TODO SERVER-53283 remove the following 3 variables after 5.0 became last LTS - mutable Mutex _completionMutex = - MONGO_MAKE_LATCH("ShardingDDLCoordinatorService::_completionMutex"); - size_t _numActiveCoordinators{0}; - mutable stdx::condition_variable _completedCV; - mutable Mutex _mutex = MONGO_MAKE_LATCH("ShardingDDLCoordinatorService::_mutex"); // When the node stepDown the state is set to kPaused and all the new DDL operation will be |