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

Warning for secondaryPreferred read preference would cause unavailability in some common scenarios

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None
    • None

    Description

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

      The documentation above warns against using secondaryPreferred and instead favors secondary. If you have a 3 node RS where you have 2 data nodes and an arbiter and you use secondary as opposed to secondaryPreferred. Reads will not go through if your secondary goes down or is just unreachable due to network issues, even though you have a functioning replica set. We should remove this warning and instead add an alternate warning to the secondary read preference saying secondaryPreferred is recommended.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            sridhar Sridhar Nanjundeswaran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 12 weeks, 2 days ago