Write commands in transactions must check for pending catalog changes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2018-05-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Tess Avitabile (Inactive)
            Reporter:
            Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: