summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gottlieb <daniel.gottlieb@mongodb.com>2020-03-20 19:09:35 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-24 16:51:35 +0000
commit40112eca43bbb3b84aa738bacec73c3a9e32e5b9 (patch)
treec613cfc8f57dc61ba4d7287ff05d4ff928d31384
parent04c0ff72fcf81f833188fb3a1d871b2add3a1958 (diff)
downloadmongo-40112eca43bbb3b84aa738bacec73c3a9e32e5b9.tar.gz
SERVER-45733: Remove ghost timestamping that is now always a no-op.
-rw-r--r--src/mongo/db/catalog/index_builds_manager.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/catalog/index_builds_manager.cpp b/src/mongo/db/catalog/index_builds_manager.cpp
index a1b1ad27377..303b89a1e17 100644
--- a/src/mongo/db/catalog/index_builds_manager.cpp
+++ b/src/mongo/db/catalog/index_builds_manager.cpp
@@ -253,12 +253,6 @@ Status IndexBuildsManager::commitIndexBuild(OperationContext* opCtx,
if (!status.isOK()) {
return status;
}
-
- // Eventually, we will obtain the timestamp for completing the index build from the
- // commitIndexBuild oplog entry.
- // The current logic for timestamping index completion is consistent with the
- // IndexBuilder. See SERVER-38986 and SERVER-34896.
- IndexTimestampHelper::setGhostCommitTimestampForCatalogWrite(opCtx, nss);
wunit.commit();
// Required call to clean up even though commit cleaned everything up.