diff options
-rw-r--r-- | src/mongo/db/repl/repl_server_parameters.idl | 7 | ||||
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_impl.cpp | 3 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/mongo/db/repl/repl_server_parameters.idl b/src/mongo/db/repl/repl_server_parameters.idl index 227685978ee..53847d4c09b 100644 --- a/src/mongo/db/repl/repl_server_parameters.idl +++ b/src/mongo/db/repl/repl_server_parameters.idl @@ -663,13 +663,6 @@ feature_flags: default: true version: 5.1 - featureFlagFileCopyBasedInitialSync: - description: >- - When enabled, file copy based initial sync will be supported in Enterprise Server. - cpp_varname: feature_flags::gFileCopyBasedInitialSync - default: true - version: 5.2 - featureFlagShardMerge: description: When enabled, multitenant migration uses the "shard merge" protocol. cpp_varname: feature_flags::gShardMerge diff --git a/src/mongo/db/repl/replication_coordinator_impl.cpp b/src/mongo/db/repl/replication_coordinator_impl.cpp index 0ea77cb39bc..27ddfdcbc69 100644 --- a/src/mongo/db/repl/replication_coordinator_impl.cpp +++ b/src/mongo/db/repl/replication_coordinator_impl.cpp @@ -745,8 +745,7 @@ void ReplicationCoordinatorImpl::_startInitialSync( onCompletion); }; - if (repl::feature_flags::gFileCopyBasedInitialSync.isEnabledAndIgnoreFCV() && - !fallbackToLogical) { + if (!fallbackToLogical) { auto swInitialSyncer = createInitialSyncer(initialSyncMethod); if (swInitialSyncer.getStatus().code() == ErrorCodes::NotImplemented && initialSyncMethod != "logical") { |