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

Data compaction on Secondary server makes client connection to the entire replicaset hang

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      node driver v1.3.12 (nodejs v0.10.13), against mongo 2.4.4

      We have run into an issue where we are opening the connection to a replicaset (2 servers), where the secondary server in the replicaset is performing a data compaction ...

      The db.open() doesnt return ... and our apps sits hanging waiting for the connection. I've left the app hanging for minutes and nothing seems to time out.

      This is node driver v1.3.12, against mongo 2.4.4

      We dont seem to get a socket timeout.

      I cant see anything in the code that would handle the compacting server not responding...

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            nick.minutello@credit-suisse.com Nick Minutello
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: