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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QE 2023-06-26
    • 35
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: