Wildcard indexes should ignore wiredTigerGlobalOptions.useIndexPrefixCompression option

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            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: