[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: |
|
||||||||
| 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: |
| 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 |
| 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. |