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

Increase timeouts in replsets/read_committed_on_secondary.js to 10 minutes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.7, 3.5.7
    • None
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • 0

    Description

      The failure in https://jira.mongodb.org/browse/BF-4726 occurred when executing a readConcern=majority read on a document that was written with writeConcern=majority. Thus, it appears that the failure was likely caused by a mongod taking a long amount of time to read a document from local storage (not making any network requests to other nodes).

      The functions `doDirtyRead` and `doCommittedRead` should have the `maxTimeMS` values in their find commands increased to 10 minutes, so as to account for any potentially slow test machines.

      Attachments

        Activity

          People

            judah.schvimer@mongodb.com Judah Schvimer
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: