Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3107

Warn when removing the last server from a topology

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.15.0
    • Affects Version/s: None
    • Component/s: libmongoc

      Quoting SDAM: Other Topology Types:

      A client SHOULD emit a warning when, in the process of updating its topology description, it removes the last server from the topology.

      Emitting a warning could better assist users in catching the following cases that could lead to an empty topology and non-functional application:

      • A typo in the replicaSet URI option
      • Connecting to a standalone server with a replicaSet URI option present. SDAM: Allowed Configuration Combinations allows drivers to support a Single topology type even if the replica set name is not-null, but libmongoc elects not to do that.

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: