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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • ALL
    • QE 2024-04-29, QE 2024-05-13
    • 3

      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: