Replicaset timeouts in initial connect sequence can "no primary found"

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.2.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If the seedlist item contains the primary and there is a non-reachable member that times out it can cause the initially connected primary to timeout before the discovery processes has finished leading to a "no primary found".

      Fix is to make initial topology sweep not start up the SDAM monitoring but to schedule it in parallel before the initial discovery is performed. This will make the monitoring thread keep the discovered servers alive and negate the "no primary" found.

      https://github.com/christkv/mongodb-core/commit/a8918ac99c0325aeccb1e729704d0b0c7b38a3ff

              Assignee:
              Unassigned
              Reporter:
              Christian Amor Kvalheim
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: