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

Add retry to continuous config primary step-down thread when primary steps down and closes all connections

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.5, 3.3.3
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Fully Compatible
    • ALL
    • Sharding 11 (03/11/16)
    • 0

      The continuous config primary step down thread first tries to contact a config server. The C++ code that is eventually called opens a connection to the specified config server, and follows up with an isMaster command. However, the config server, if a primary, may step down between creating the connection and calling isMaster. When the primary steps down it closes all of its connections, so the followup isMaster command throws an error.

      In this case, the error should be caught and the command retried, rather than quitting with an error.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: