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

shouldRetry() logic in multiInitialSyncApply_noAbort() is over-aggressive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.4.7, 3.5.10
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Repl 2017-05-08, Repl 2017-05-29, Repl 2017-06-19, Repl 2017-07-31

    Description

      Currently multiInitialSyncApply_noAbort() calls shouldRetry() on all !OK statuses returned from applying any non-command op. If shouldRetry() returns false, the error is ignored. It should probably only do this for error cases that are expecting the shouldRetry() treatment (such as an update not finding a document) rather than for absolutely all errors.

      Attachments

        Activity

          People

            judah.schvimer@mongodb.com Judah Schvimer
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: