SERVER-139093Backlog

Support persisting NDV for collated/non-btree indexes

SERVER-134637 added support for hashed/wildcard/collated indices to CBR but explicitly disabled these new index types from using the persisted stats to estimate the NDV. They cannot naively use the persisted NDV stats because the index bounds for index scans on these indexes are transformed (hashed/collated/transformed to the wildcard format etc.), which the current persisted NDV stats do not replicate.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
CBR