Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Storage Execution
Description
I think we basically always want prefix compression for wildcard indexes, even in cases where users may want it disabled for other indexes. As a simple fix, https://github.com/mongodb/mongo/blob/7d5cf026105db1693724db155b4f409b267ab352/src/mongo/db/storage/wiredtiger/wiredtiger_index.cpp#L171-L173 should check desc.getIndexType() == INDEX_WILDCARD.