[SERVER-39615] Replace KillSessionsDuringPrepareDoesNotAbortTransaction with realistic test Created: 15/Feb/19  Updated: 29/Aug/19  Resolved: 29/Aug/19

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

Type: Improvement Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Siyuan Zhou
Resolution: Duplicate Votes: 0
Labels: prepare_optional
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-41457 Unify the different ways the Transact... Closed
Related
is related to SERVER-38810 Use the Client mutex or the SessionCa... Closed
Participants:

 Description   

KillSessionsDuringPrepareDoesNotAbortTransaction tests a concurrent abort while a transaction is being prepared. After SERVER-38810, this test is not realistic, since an operation must check out the session in order to modify TransactionParticipant state, so a concurrent operation cannot abort a transaction while it is being prepared. However, this test is our only unit test coverage that abortTransactionIfNotPrepared() does not abort prepared transactions. It would be valuable to replace this test with a test that demonstrates abortTransactionIfNotPrepared() does not abort prepared transactions.



 Comments   
Comment by Siyuan Zhou [ 29/Aug/19 ]

SERVER-41457 removed the test since it's unnecessary now.

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