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

Make test or_to_in independent of isCached explain value

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2024-01-22
    • 50

      The reason for BF-31357 is that replication passthrough tests may create a situation where if a stepdown occurs between running comparison query1 and query2, the new primary may have no cached plan for the query and the isCached explain value may be different for the two queries. Since the test compares the whole winning plan this difference results in a test failure.

      The fix is to make the test compare only the minimum necessary information from explain.

            Assignee:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Reporter:
            timour.katchaounov@mongodb.com Timour Katchaounov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: