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

Use assert.sameMembers instead of assert.eq in getWinningPlansForQuery

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • QO 2024-08-05
    • 0

      Occasionally, the winning plans produced by getWinningPlansForQuery will contain the same elements in a different order in sharded clusters. Make sure that we treat these plans as equal using assert.sameMembers instead of assert.eq.

            Assignee:
            lynne.wang@mongodb.com Lynne Wang
            Reporter:
            lynne.wang@mongodb.com Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: