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

Don't call for priority takeover when repl lagged

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Minor Change
    • Backport Completed:
    • Sprint:
      Repl 2016-11-21

      Description

      Currently in pv1 we call for priority takeover without concern for whether the higher priority node is caught up in replication, which can lead to unnecessary rollbacks of w:1 writes. If we avoid calling for an election due to priority takeover if we are more than X seconds repl lagged, then that in combination with the catchup period should prevent any writes from being lost during priority takeover.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              spencer Spencer Brody (Inactive)
              Reporter:
              spencer Spencer Brody (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: