handle replica set flapping

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.3.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If tcp connections quickly flap, we should not fail over to secondary. We should make sure this doesn't happen at least in the trivial case where a single reconnect try works just fine after a socket exception.

      please research; maybe we can have a test for this too - we could add an option to replSetTest command to close all connections - something like

      MessagingPort::closeAllSockets(0);

      might work for testing.

              Assignee:
              Kristina Chodorow (Inactive)
              Reporter:
              Dwight Merriman
              Votes:
              2 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: