Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Query 2016-10-31, Query 2016-11-21
-
0
Description
When a primary defers creation of the _id index, the secondary still creates the _id index when applying the oplog entry for the collection creation. This results in inconsistent indexes between primary and secondary. We should remove occurrences of deferred _id index creation:
– chunk migration
– cloner (all occurrences in that file)
– renameCollection
– repairDatabase (mmapv1)
We need not change initial sync or the oplog buffer collection, since those collection creations are not replicated.
Attachments
Issue Links
- is depended on by
-
SERVER-26515 Create collection with v=2 index should include full index spec in oplog
-
- Closed
-
- related to
-
SERVER-26834 replset7.js should cause documents to be seen twice in initial sync
-
- Closed
-