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

Fix causal consistency bug in $merge code on mongos

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • v4.4
    • Query 2020-04-20

      We are not passing afterClusterTime when we do listIndexes in aggregate $merge here. So the listIndexes doesn't obey the causal consistency and runs in parallel with the createIndexes command.
      This can be fixed by copying the readConcern (which holds afterClusterTime) from opCtx .

            Assignee:
            arun.banala@mongodb.com Arun Banala
            Reporter:
            arun.banala@mongodb.com Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: