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

Write test for transaction write conflicts with non-transactional writes

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.0-rc0
    • Replication
    • None
    • Fully Compatible
    • Repl 2018-05-07, Repl 2018-05-21
    • 4

    Description

      We want to test the behavior write conflicts between multi-statement transactions and writes outside of multi-statement transactions. We should test the following cases:

      1. Start a transaction T. then, outside of the transaction, update document D. Then try to write to document D from within transaction T and verify a write conflict occurs.
      2. Start a transaction T and write to document D. Then try to do a non-transactional update to D. Verify that this non-transactional write blocks until the transaction has committed, or until maxTimeMS expires.

      Attachments

        Issue Links

          Activity

            People

              william.schultz@mongodb.com William Schultz (Inactive)
              william.schultz@mongodb.com William Schultz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: