summaryrefslogtreecommitdiff
path: root/src/mongo/db/serverless/shard_split_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/serverless/shard_split_commands.cpp')
-rw-r--r--src/mongo/db/serverless/shard_split_commands.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/serverless/shard_split_commands.cpp b/src/mongo/db/serverless/shard_split_commands.cpp
index 2f168f1f85e..b1cd55077c9 100644
--- a/src/mongo/db/serverless/shard_split_commands.cpp
+++ b/src/mongo/db/serverless/shard_split_commands.cpp
@@ -57,12 +57,6 @@ public:
"shard split is not available on config servers",
serverGlobalParams.clusterRole == ClusterRole::None ||
serverGlobalParams.clusterRole == ClusterRole::ShardServer);
- // TODO SERVER-62079 : Remove check for scanning RSM as it does not exist anymore.
- uassert(
- 6142502,
- "feature \"shard split\" not supported when started with \"scanning\" replica set "
- "monitor mode.",
- gReplicaSetMonitorProtocol != ReplicaSetMonitorProtocol::kScanning);
const auto& cmd = request();
auto stateDoc = ShardSplitDonorDocument(cmd.getMigrationId());
@@ -137,12 +131,6 @@ public:
"feature \"shard split\" not supported",
repl::feature_flags::gShardSplit.isEnabled(
serverGlobalParams.featureCompatibility));
- // TODO SERVER-62079 : Remove check for scanning RSM as it does not exist anymore.
- uassert(
- 6142506,
- "feature \"shard split\" not supported when started with \"scanning\" replica set "
- "monitor mode.",
- gReplicaSetMonitorProtocol != ReplicaSetMonitorProtocol::kScanning);
const RequestType& cmd = request();