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

Investigate discrepancy between ShardLocal and ShardRemote aggregations

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing

      The ShardLocal aggregations code ends up calling RSLocalClient. This code ends up overriding the readConcern given to the command.

      The readConcern given as a result would crash the server if snapshot readConcern is used since the override would swap afterClusterTime with afterOpTime. When processing the request, the server would also add a atClusterTime since it uses snapshot readConcern. This will cause this invariant to get hit since both arguments will be set.

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

              Created:
              Updated: