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

multiApply() should return early on any writer thread errors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.3
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2018-03-12

      Description

      Currently in multiApply(), which takes a vector of oplog entries and distributes them across a set of writer threads to apply in parallel, any errors reported by the writer threads are stored in statusVector and returned at the end of the function. It may be possible to exit this function early after all the writer threads have finished running here on any writer errors instead of running the post oplog application steps. This should be fine because we will abort the process during steady state replication, and the initial synced will reset the database state before retrying.

        Attachments

          Activity

            People

            Assignee:
            benety.goh Benety Goh
            Reporter:
            benety.goh Benety Goh
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: