[SERVER-40183] Create kill_sessions version of multi_statement_transaction_simple.js concurrency workload Created: 18/Mar/19  Updated: 29/Oct/23  Resolved: 02/May/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.11

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done after SERVER-40186 The logic in `auto_retry_transaction.... Closed
has to be done after SERVER-40615 killOp while taking global lock for p... Closed
Related
is related to SERVER-41278 FSM killSession helper should not kil... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2019-04-22, Sharding 2019-05-06
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 02/May/19 ]

Author:

{'email': 'jack.mulrow@mongodb.com', 'name': 'Jack Mulrow', 'username': 'jsmulrow'}

Message: SERVER-40183 Create kill_session version of multi_statement_transaction_simple.js
Branch: master
https://github.com/mongodb/mongo/commit/3e537f69b4d65d39be235b971e8f08b7dc876bb1

Generated at Thu Feb 08 04:54:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.