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

Drop all connections when transitioning to ROLLBACK or REMOVED states

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • Repl 2016-11-21

      Whenever we transition out of PRIMARY, or into ROLLBACK or REMOVED, we call a function to close all connections. With SERVER-24574, however, that call now only closes non-internal connections, where it used to close all connections.
      We should think about whether or not this is safe for transitions to ROLLBACK or REMOVED, and may want to just go ahead and close all (including internal) connections in those cases as it is much easier to reason about the system if you don't have to worry about time going backwards on a single connection.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: