Currently, the createIndexes code passes the requested index specification to the operation observer instead of the specification of the index as built. If the primary of the replica set made choices based on defaults, it needs to make those choices explicit in the spec it passes to secondaries so that they build the same index, in the presence of mixed-version replica sets.
- related to
-
SERVER-24032 When processing createIndexes (on V2 indexes), secondaries should error on unfamiliar arguments
- Closed
-
SERVER-769 Validate top-level & index spec field names for the createIndexes command
- Closed