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

ReadConcern=local/majority improves reads to secondaries in sharded clusters

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6 Required
    • Component/s: drivers
    • Labels:
      None
    • 0.3

      In our documents about ReadPreference said:

      For queries of sharded collections, for clusters with the balancer active, secondaries may return stale results with missing or duplicated data because of incomplete or terminated chunk migrations.

      Beginning in 3.6, this is still true by default. However, we now have readConcern=local/majority which makes secondaries "chunk aware".

            Assignee:
            Unassigned Unassigned
            Reporter:
            yaoxing.zhang@mongodb.com Yaoxing Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 16 weeks, 4 days ago