SERVER-136162ClosedFixed

Disable ListIndexesAlwaysIncludesSimpleCollation feature flag

h2. *Impact* Since SERVER-89953, on FCV 9.0+, listIndexes includes collation: \{ locale: 'simple' } on all the indexes without an explicit collation. This causes mongoose’s [Model.syncIndexes|https://mongoosejs.com/docs/api/model.html#Model.syncIndexes()] function to always drop and re-create the collection indexes, even if the expected indexes are already built. This happens since the collation field added by SERVER-89953 makes Mongoose's diff logic consider the built index doesn't match

Affected Versions
Versions known to exhibit this issue
9.1.0-rc09.0.0
Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10249.0.4
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.