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

mirrored_reads.js assertion does not consider mirrored read failure

    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Service Arch 2021-07-12
    • 21
    • 2

      It is asserted in noPassthrough/mirror_reads.js that mirrored operations (i.e., readsSent) is equal to readsResolved, which may not always be true if the reads fail for whatever reason (i.e., secondary shuts down or fails set up). Possible solutions include adding logic in the test that considers failed reads, or changing the mirrored reads section to resolve before isRetriableError.

            Assignee:
            alex.li@mongodb.com Alex Li
            Reporter:
            alex.li@mongodb.com Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: