Fix causal consistency bug in $merge code on mongos

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Arun Banala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: