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.
Wildcard indexes should ignore wiredTigerGlobalOptions.useIndexPrefixCompression option
- Assignee:
- [DO NOT USE] Backlog - Storage Execution Team
- Reporter:
- Mathias Stearn
- Votes:
-
0 Vote for this issue
- Watchers:
-
5 Start watching this issue
- Created:
- Updated: