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

Indicate term mismatches when readConcern times out

    XMLWordPrintableJSON

Details

    • Minor Change
    • v4.2, v4.0, v3.6, v3.4
    • Sharding 2019-08-12, Sharding 2019-08-26, Sharding 2019-09-09

    Description

      We should extend the error message returned as part of the WriteConcernError (or the ExceededTimeLimit error) to include text like: "Current term is 1 but request is asking for 6" or something similar. This would help alert users that a mismatches/unsatisfiable term is causing the error.

      The second half of work previously tracked on SERVER-36159.

      Attachments

        Issue Links

          Activity

            People

              kevin.pulo@mongodb.com Kevin Pulo
              kevin.pulo@mongodb.com Kevin Pulo
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: