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

Create kill_sessions version of multi_statement_transaction_simple.js concurrency workload

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-04-22, Sharding 2019-05-06

      Similar to multi_statement_transaction_kill_sessions_atomicity_isolation.js, a kill sessions version of multi_statement_transaction_simple.js should be created to ensure there is coverage for killing sessions during two phase commit. This is necessary because the only multi shard transaction run by the atomicity isolation workload is a read, which skips two phase commit because of the recently added read only optimizations. multi_statement_transaction_simple.js instead runs a transaction with two updates on different _id values, which cannot skip two phase commit if the affected documents are on different shards, which happens randomly depending on the hashed sharding distribution for the chosen values.

      As part of this ticket, other concurrency workloads can be considered for kill sessions versions as well, like multi_statement_transaction_all_commands.js and random_moveChunk_broadcast_{update,delete}_transaction.js.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: