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

Make test or_to_in independent of isCached explain value

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2024-01-22
    • 50

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: