-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Querying, Replication, Sharding
-
None
-
Fully Compatible
-
ALL
-
Query 2016-10-31, Query 2016-11-21
-
0
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.
- 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