Info
SERVER-61887 introduced the insertion of an oplog entry into the CreateCollectionCoordinator when the DDL operation gets committed into the config server: nevertheless, if the _commit() function gets interrupted by a stepdown event just before or during the execution of notifyChangeStreamsOnShardCollection(), it is possible to complete shardCollection() without ever emitting such oplog entry.
Top User Comments
xgen-internal-githook commented on Thu, 22 Dec 2022 08:34:07 +0000:
Author:
{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}
Message: SERVER-70100 Ensure at-least-once emission of oplog entry on shardCollection() completion
Branch: v6.0
https://github.com/mongodb/mongo/commit/f132d69031b6554d22aef026c941eab4ddff24ca
xgen-internal-githook commented on Tue, 20 Dec 2022 21:54:15 +0000:
Author:
{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}
Message: Revert "SERVER-70100 Ensure at-least-once emission of oplog entry on shardCollection() completion"
This reverts commit 3972acca68f5fbb20e9395a8702a25386977820d.
Branch: v6.0
https://github.com/mongodb/mongo/commit/7fb90620aa832db2c1835d800333959077e431df
xgen-internal-githook commented on Tue, 20 Dec 2022 10:38:49 +0000:
Author:
{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}
Message: SERVER-70100 Ensure at-least-once emission of oplog entry on shardCollection() completion
Branch: v6.0
https://github.com/mongodb/mongo/commit/3972acca68f5fbb20e9395a8702a25386977820d
xgen-internal-githook commented on Wed, 7 Dec 2022 15:18:46 +0000:
Author:
{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}
Message: SERVER-70100 Ensure at-least-once emission of oplog entry on shardCollection() completion
Branch: master
https://github.com/mongodb/mongo/commit/2ebf2d3e3cbe025baf2bdea1c70aa494df97b4e0