Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-54443

Wildcard indexes should ignore wiredTigerGlobalOptions.useIndexPrefixCompression option

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

      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:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: