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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Query Optimization
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: