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

after loosing the connection driver spits out slave warnings

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.2.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      We have a small cluster of two instances with an aditional arbiter.
      There are multiple node clients that are connected to the cluster.

      On friday morning one client lost the connection to one of the instances: ("MongoError: server xxx received an error

      {'name':'MongoError','message':'read ECONNRESET'}

      ")

      It apparently managed to reconnect as for a few hours everything went fine, but than the same client only failed constantly on every query with the error message: "MongoError: not master and slaveOk=false"

      Why hasnt the client reconnected to the master?
      And why did this issue came up delayed and not at the same time as the resetted connection?

      Thanks in advance!

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            seriously me
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: