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

Fix causal consistency bug in $merge code on mongos

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Query 2020-04-20

    Description

      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 .

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: