diff options
Diffstat (limited to 'src/mongo/db/index_builds_coordinator.cpp')
-rw-r--r-- | src/mongo/db/index_builds_coordinator.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/index_builds_coordinator.cpp b/src/mongo/db/index_builds_coordinator.cpp index 0cf8bf00c6a..e801fd1c9fd 100644 --- a/src/mongo/db/index_builds_coordinator.cpp +++ b/src/mongo/db/index_builds_coordinator.cpp @@ -192,8 +192,9 @@ void removeIndexBuildEntryAfterCommitOrAbort(OperationContext* opCtx, } if (replCoord->getSettings().shouldRecoverFromOplogAsStandalone()) { - // TODO SERVER-60753: Remove this mixed-mode write. - opCtx->recoveryUnit()->allowUntimestampedWrite(); + // Writes to the 'config.system.indexBuilds' collection are replicated and the index entry + // will be removed when the delete oplog entry is replayed at a later time. + return; } auto status = indexbuildentryhelpers::removeIndexBuildEntry( |