summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2022-06-15 17:39:42 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-15 18:24:27 +0000
commit19fa6a0d6d2ce6b5f4c8e4afed5e0387fb8ff17a (patch)
tree5cbd0f8661933603bc0bf21dfec98aeb208b3fb9 /src/mongo/db/commands/set_feature_compatibility_version_command.cpp
parenta6392c6ef8ebb9fb77f144fff1fd5e44d713fbfb (diff)
downloadmongo-19fa6a0d6d2ce6b5f4c8e4afed5e0387fb8ff17a.tar.gz
SERVER-62693 Review downgrade requirements for defragmentation once 6.0 branches out
Diffstat (limited to 'src/mongo/db/commands/set_feature_compatibility_version_command.cpp')
-rw-r--r--src/mongo/db/commands/set_feature_compatibility_version_command.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
index 6a75dfef536..9b097faf0a5 100644
--- a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
+++ b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp
@@ -74,7 +74,6 @@
#include "mongo/db/s/resharding/resharding_coordinator_service.h"
#include "mongo/db/s/resharding/resharding_donor_recipient_common.h"
#include "mongo/db/s/sharding_ddl_coordinator_service.h"
-#include "mongo/db/s/sharding_util.h"
#include "mongo/db/s/transaction_coordinator_service.h"
#include "mongo/db/server_feature_flags_gen.h"
#include "mongo/db/server_options.h"
@@ -551,14 +550,6 @@ private:
!feature_flags::gFeatureFlagChangeStreamPreAndPostImages.isEnabledOnVersion(
requestedVersion);
- // TODO SERVER-62693: remove the following scope once 6.0 branches out
- if (requestedVersion == multiversion::GenericFCV::kLastLTS) {
- if (serverGlobalParams.clusterRole == ClusterRole::ConfigServer ||
- serverGlobalParams.clusterRole == ClusterRole::ShardServer) {
- sharding_util::downgradeCollectionBalancingFieldsToPre53(opCtx);
- }
- }
-
// TODO SERVER-65332 remove logic bound to this future object When kLastLTS is 6.0
boost::optional<SharedSemiFuture<void>> chunkResizeAsyncTask;
if (serverGlobalParams.clusterRole == ClusterRole::ConfigServer) {