Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-202

Should you be able to connect to a replica set when there is no primary?

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2
    • Affects Version/s: 1.0
    • Component/s: Feature Request
    • None

      Currently the C# driver will not connect to a replica set when there is no primary. However, it is possible that some applications will wish to connect in read-only mode in such a scenario. Should the driver connect successfully when there is no primary (and only fail when writes are attempted)? Does this require a new connection string option to specify whether a primary is required or not? A similar scenario occurs when a primary exists when first connecting but then steps down subsequently: should the driver allow reads to continue while there is no primary?

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: