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

Write commands in transactions must check for pending catalog changes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2018-05-07

    Description

      AutoGetCollectionForRead uasserts if we have readConcern level snapshot and there have been catalog changes since the read timestamp. This does not occur for write commands, since they use AutoGetCollection instead of AutoGetCollectionForRead. Write commands must also perform this check, since they use/update indexes.

      This will be less of a concern once speculative behavior is in place, since we will always use the locally committed snapshot. But it will still be essential for atClusterTime.

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: