summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/s/migration_source_manager.cpp3
-rw-r--r--src/mongo/db/s/move_primary_source_manager.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/s/migration_source_manager.cpp b/src/mongo/db/s/migration_source_manager.cpp
index 70dc1982829..413bd81f5c2 100644
--- a/src/mongo/db/s/migration_source_manager.cpp
+++ b/src/mongo/db/s/migration_source_manager.cpp
@@ -357,9 +357,6 @@ void MigrationSourceManager::enterCriticalSection() {
uassertStatusOKWithContext(ShardingStateRecovery_DEPRECATED::startMetadataOp(_opCtx),
"Start metadata op");
- // Checkpoint the vector clock to ensure causality in the event of a crash or shutdown.
- VectorClockMutable::get(_opCtx)->waitForDurableConfigTime().get(_opCtx);
-
LOGV2_DEBUG_OPTIONS(4817402,
2,
{logv2::LogComponent::kShardMigrationPerf},
diff --git a/src/mongo/db/s/move_primary_source_manager.cpp b/src/mongo/db/s/move_primary_source_manager.cpp
index 997b9605ead..350198d53ce 100644
--- a/src/mongo/db/s/move_primary_source_manager.cpp
+++ b/src/mongo/db/s/move_primary_source_manager.cpp
@@ -163,9 +163,6 @@ Status MovePrimarySourceManager::enterCriticalSection(OperationContext* opCtx) {
return startMetadataOpStatus;
}
- // Checkpoint the vector clock to ensure causality in the event of a crash or shutdown.
- VectorClockMutable::get(opCtx)->waitForDurableConfigTime().get(opCtx);
-
{
// The critical section must be entered with the database X lock in order to ensure there
// are no writes which could have entered and passed the database version check just before