mirror_reads.js accounts for reads that are scheduled but not run in time

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • ALL
    • Programmability 2024-10-14, Programmability 2024-10-28, Programmability 2024-11-11
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If there are reads that are scheduled via ExecutorFuture but not run, it's possible with the mirror_reads.js loose test assertions that the test continues. The test would eventually fail at `checkReadsMirroringRate`, where resolved is compared with seen. We can fix this by 1) changing where the metrics are incremented, 2) making the assertions in `waitForReadsToResolveOnPrimary` more strict, or 3) change assertions around `checkReadsMirroringRate`

            Assignee:
            Alex Li
            Reporter:
            Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: