Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-818

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

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

      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 Unassigned
            Reporter:
            christkv Christian Amor Kvalheim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: