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

handle replica set flapping

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      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 Kristina Chodorow (Inactive)
            Reporter:
            dwight@mongodb.com Dwight Merriman
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: