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

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

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • ALL
    • Programmability 2024-10-14, Programmability 2024-10-28
    • 0

      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@mongodb.com Alex Li
            Reporter:
            alex.li@mongodb.com Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: