[SERVER-80279] Commit on non-existing transaction then proceed to continue can trigger an invariant Created: 21/Aug/23  Updated: 07/Feb/24  Resolved: 25/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0 Required, 4.4 Required, 7.1.0-rc0, 7.0.3, 6.0.14

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File test.js    
Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-77506 Sharded multi-document transactions c... Closed
Related
is related to SERVER-81007 FSM workloads no longer fail when $co... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.0, v5.0, v4.4
Participants:
Linked BF Score: 156

 Comments   
Comment by Githook User [ 07/Feb/24 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-80279 Disallow continuing a transaction router that was not started

(cherry picked from commit 4bf649ec51e337c143ce1fbebf77e64c27e8aa89)

GitOrigin-RevId: 5ff0b0748e945696b72f804f8d743bdceb0ddd18
Branch: v6.0
https://github.com/mongodb/mongo/commit/411ea393ca5b3ec4aa633972700bf2f2a1f79fdd

Comment by Githook User [ 06/Oct/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-80279 Disallow continuing a transaction router that was not started

(cherry picked from commit 4bf649ec51e337c143ce1fbebf77e64c27e8aa89)

This additionally includes the changes to cleanup_txns.js from commit
71ac129838309d0020840891c683acc945276705 to ignore the location error
code 8027900.
Branch: v7.0
https://github.com/mongodb/mongo/commit/47db7e2aeae90a3b257ae3cabad8130837802c69

Comment by Githook User [ 24/Aug/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-80279 Disallow continuing a transaction router that was not started
Branch: master
https://github.com/mongodb/mongo/commit/4bf649ec51e337c143ce1fbebf77e64c27e8aa89

Generated at Thu Feb 08 06:43:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.