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

Make query_oplogreplay.js test more stable by accounting for oplog entries from background processes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QE 2023-06-26
    • 35

    Description

      Test query_oplogreplay.js can fail in rare cases when oplog entries from background processes (for example, index build on some system collection) are intertwined with test oplog entries, messing up totalDocsExamined execution stat.

      To fix it, we should raise the allowed totalDocsExamined, but still keep it low to assert that there where no full oplog collection scan.

      Attachments

        Activity

          People

            ivan.fefer@mongodb.com Ivan Fefer
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: