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

need to be a way to quickly detect a loss of primary state in a replica set if one is not calling getlasterror

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.3
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None

      it would be bad to do writes for an hour and then discover the node transitioned to secondary 59 minutes ago.

      of course one call getlasterror today, but this is solveable without that so we should do it.

      one possible solution: close all connections on a transition from primary->secondary.

            Assignee:
            dwight@mongodb.com Dwight Merriman
            Reporter:
            dwight@mongodb.com Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: