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

Restrict slaveOk reads by Tag

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      We would like to be able to restrict slaveOk reads to a particular datacentre. It would be great if we could set a tag or list of tags in MongoServerSettings that would restrict reads to only the servers with those tags.

      Another option would be to be able to pass in a list of servers when connecting direct and have the reads load-balanced across these.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rstam Robert Stam
              Reporter:
              pierrearmageddon Pierre Dane
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: