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

Warn when removing last server from topology

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7.0.rc0
    • Affects Version/s: None
    • Component/s: Server Selection
    • Labels:
      None

      Any time a server is removed from topology the driver should log a message with warn log level. The server removal events are almost always significant - they either indicate a misconfiguration or, in case of elections/failovers/upgrades, they provide useful intel for troubleshooting should anything go wrong.

      When a server is discovered by SDAM but not added to the topology, a message should be logged at warn level as well for the same reasons.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: