Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-384

Using a ReplSetConnection raises an exception when a secondary node restarts, even though read secondary is set to false

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      ReplSetConnection raises except when a secondary node restarts, even though read secondary is set to false.

      In our case, we have 5 MongoDB nodes in a ReplSet. Restart a non-primary node and the client will likely shit itself, mid operation for no explicable reason.

      Whatever is going on should be caught and a retry would be ideal.

      Increasing the size of a ReplicaSet seems to increase the likelihood of failure for clients. So, more Mongoz = more risk. Except that less Mongoz = more risk.

            Assignee:
            kbanker Kyle Banker
            Reporter:
            sgonyea Scott Gonyea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: