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

[CQF] Relax M2 CQF fallback (tryBonsai) to allow {_id: 'hashed'} index

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible

      A sharded collection must be backed by an index on the shard key. In M2, we are running through bonsai only for collection scan plans which necessitate there being no indexes on the collection besides the primary index. However many of our sharding suites define {_id: 'hashed'}, so we should support this case to gain more coverage of M2.

            Assignee:
            lynne.wang@mongodb.com Lynne Wang
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: