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

Set Member State to RECOVERING when no sync source avail and an auth error exists

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 2.7.8
    • Replication
    • None
    • Fully Compatible

    Description

      Rather than have the heartbeat code switch secondaries to the RECOVERING state when all nodes appear down and an auth error is detected in at least one, it would be more to the point for the applier to take this step. The point of switching to recovery is to prevent slave-ok reads from reading data that is growing only more stale due to a misconfiguration, but the place where we know this is happening is the applier, not the heartbeat code.

      The new heartbeat code does not do the switch to RECOVERING in this circumstance, so this ticket is required to complete the replication refactor.

      Attachments

        Issue Links

          Activity

            People

              scotthernandez Scott Hernandez (Inactive)
              schwerin@mongodb.com Andy Schwerin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: