Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2068

Wrong description of secondaryPreferred and tags

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      http://docs.mongodb.org/manual/reference/read-preference/#secondaryPreferred

      Manual says, "If no secondaries have matching tags, the read operation produces an error."

      https://wiki.mongodb.com/display/10GEN/Driver+Read+Semantics#DriverReadSemantics-ReadPreferences

      Spec says, "If there are no tag sets matching any secondaries, it reads from primary regardless of any tags provided." mongos and most drivers follow the spec.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 29 weeks, 1 day ago