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

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.2
    • Affects Version/s: 1.0
    • Component/s: Feature Request
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Stam
              Reporter:
              Robert Stam
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: