diff options
author | Paolo Polato <paolo.polato@mongodb.com> | 2022-12-20 21:16:56 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-12-20 21:54:09 +0000 |
commit | 7fb90620aa832db2c1835d800333959077e431df (patch) | |
tree | f186509b7b82e39f38fde13144e51fb2d04c0df1 | |
parent | 515e14784d55ab38a1673f3e9cfb849d3ff932a5 (diff) | |
download | mongo-7fb90620aa832db2c1835d800333959077e431df.tar.gz |
Revert "SERVER-70100 Ensure at-least-once emission of oplog entry on shardCollection() completion"
This reverts commit 3972acca68f5fbb20e9395a8702a25386977820d.
-rw-r--r-- | src/mongo/db/s/create_collection_coordinator.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/s/create_collection_coordinator.cpp b/src/mongo/db/s/create_collection_coordinator.cpp index ba4eaf99e6e..31d302b9989 100644 --- a/src/mongo/db/s/create_collection_coordinator.cpp +++ b/src/mongo/db/s/create_collection_coordinator.cpp @@ -493,10 +493,6 @@ ExecutorFuture<void> CreateCollectionCoordinator::_runImpl( getCollation(opCtx, nss(), _request.getCollation()).second, _request.getUnique().value_or(false))) { - // Ensure that the completion of the request gets recorded at least once on the - // oplog. - _writeOplogMessage(opCtx, nss(), *_collectionUUID, _request.toBSON()); - // The critical section can still be held here if the node committed the // sharding of the collection but then it stepped down before it managed to // delete the coordinator document |