Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-87198

[5.0] Make shard registry reads fallback to majority readConcern if snapshot reads fail

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.26
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-03-04
    • 156

      With SERVER-85869 we made it so that shard registry reads would exclusively use snapshot readConcern. However, in a mixed version cluster with 5.0 and 4.4 the operation will fail as snapshot reads outside of a transaction weren't supported there.

      As a result we should make the operation retry the operation with majority reads if it receives an InvalidOptions error.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: