summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl')
-rw-r--r--src/mongo/db/repl/replication_coordinator_external_state_impl.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp
index bdd03bc69fe..677504159fc 100644
--- a/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp
+++ b/src/mongo/db/repl/replication_coordinator_external_state_impl.cpp
@@ -112,7 +112,6 @@
#include "mongo/s/client/shard_registry.h"
#include "mongo/s/cluster_identity_loader.h"
#include "mongo/s/grid.h"
-#include "mongo/s/sharding_feature_flags_gen.h"
#include "mongo/stdx/thread.h"
#include "mongo/transport/service_entry_point.h"
#include "mongo/util/assert_util.h"
@@ -952,9 +951,7 @@ void ReplicationCoordinatorExternalStateImpl::_shardingOnTransitionToPrimaryHook
// Note, these must be done after the configOpTime is recovered via
// ShardingStateRecovery::recover above, because they may trigger filtering metadata
// refreshes which should use the recovered configOpTime.
- if (!mongo::feature_flags::gRangeDeleterService.isEnabledAndIgnoreFCV()) {
- migrationutil::resubmitRangeDeletionsOnStepUp(_service);
- }
+ migrationutil::resubmitRangeDeletionsOnStepUp(_service);
migrationutil::resumeMigrationCoordinationsOnStepUp(opCtx);
migrationutil::resumeMigrationRecipientsOnStepUp(opCtx);