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

Wrong description of secondaryPreferred and tags

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 18 weeks, 6 days ago