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

Write test for transaction write conflicts with non-transactional writes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2018-05-07, Repl 2018-05-21
    • 4

      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.

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

              Created:
              Updated:
              Resolved: