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

When connected directly to a secondary, do not coerce ReadPreference to Primary.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.2
    • Affects Version/s: 1.8.1
    • Component/s: None
    • None

      In accordance with the ReadPreference spec the driver coerces the ReadPreference to Primary for any command that is not allowed to be sent to a secondary.

      However, since this was implemented, the ReadPreference spec has been amended to state that this coercion should only happen when connected to a replica set. In particular, it should NOT be done when connected directly to a secondary.

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

              Created:
              Updated:
              Resolved: