[SERVER-33217] Clean up txn state on receipt of abortTransaction command Created: 09/Feb/18  Updated: 29/Oct/23  Resolved: 23/Mar/18

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

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Siyuan Zhou
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-33690 Transaction abort and commit should k... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-03-26
Participants:
Linked BF Score: 0

 Comments   
Comment by Githook User [ 22/Mar/18 ]

Author:

{'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou', 'username': 'visualzhou'}

Message: SERVER-33217 Add abortTransaction command.
Branch: master
https://github.com/mongodb/mongo/commit/4ca974b2165d74c3a9bdc4a765d445f23aaa2664

Comment by Siyuan Zhou [ 16/Mar/18 ]

This ticket should also allow _txnState == MultiDocumentTransactionState::kAborted when unstashing the transaction.

Comment by Tess Avitabile (Inactive) [ 14/Mar/18 ]

Sounds good

Comment by Siyuan Zhou [ 13/Mar/18 ]

tess.avitabile, I think it's more natural to prevent txnNumber getting reused in SERVER-33432. I add a comment there.

Comment by Tess Avitabile (Inactive) [ 08/Mar/18 ]

I assume this work will ensure that the txnNumber for the aborted transaction cannot be reused for another transaction.

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