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

Client hangs on reconnect when partitioned from majority of replset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None

      Description

      See Linked issue. User is running a setup with 4 docker instances:

      3 Docker DBs:

      • Host 1 member of Replicaset
      • Runs a js script that
      • Hosts an express server with meta info
      • Attempts multiple rapid connections, reads, and writes
        1 Docker Client:
      • Runs script that:
      • pings each express server on DB for results
      • aggregates results into metadata

      It appears that the bug is as follows: when a member node is partitioned from the network, the script running on that node loses its connection to the replicaset, as expected. However, when the node rejoins the network, the `MongoClient.prototype.connect` promise never settles, neither resolving or rejecting.

      The express server continues to operate.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              daniel.aprahamian Daniel Aprahamian (Inactive)
              Reporter:
              daniel.aprahamian Daniel Aprahamian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: