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

Robustify awaitdata_getmore_cmd.js to filter on specific ns when querying the oplog

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc7, 7.3.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • v8.0, v7.3
    • QE 2024-04-29, QE 2024-05-13, QE 2024-05-27, QE 2024-06-10
    • 200

      awaitdata_getmore_cmd.js can be a flaky test. It issues getMore with awaitData to local.oplog.rs and expects to eventually get an empty batch after time out. However, when run in parallel with other tests, the other tests can perform operations that are appended to the oplog. If we cross maxTimeMS, and we still have not found an empty batch, this test will time out.

      We should instead issue the original find and subsequent getMores to the oplog with a filter on a specific namespace.

            Assignee:
            adi.agrawal@mongodb.com Adi Agrawal
            Reporter:
            adi.agrawal@mongodb.com Adi Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: