[SERVER-40919] Remove usages of the stmtId field for transactions Created: 30/Apr/19  Updated: 29/Oct/23  Resolved: 22/May/19

Status: Closed
Project: Core Server
Component/s: Replication, Upgrade/Downgrade
Affects Version/s: None
Fix Version/s: 4.1.12

Type: Task Priority: Major - P3
Reporter: Judah Schvimer Assignee: Jason Chan
Resolution: Fixed Votes: 0
Labels: bigtxns_cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
duplicates SERVER-40793 Allow transactions prepared in 4.2 wi... Closed
duplicates SERVER-40181 Remove stmtId from transaction oplog ... Closed
Related
is related to SERVER-41269 Set txn state to in-progress when fet... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2019-05-20, Repl 2019-06-03
Participants:
Linked BF Score: 0

 Description   

To make SERVER-40181 easy in 4.4 we want to remove any uses of stmtId in transactions in 4.2. Notably rollback via refetch invariants that stmtId exists.



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

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@10gen.com', 'username': 'jasonjhchan'}

Message: SERVER-40919 Remove stmtId from transaction oplog entries
Branch: master
https://github.com/mongodb/mongo/commit/76cf536d476b50994c75dd16ec5c7caca23759a5

Comment by Siyuan Zhou [ 09/May/19 ]

judah.schvimer, I'm assigning SERVER-40181 to jason.chan as it's becoming harder and harder to maintain it for transactions, especially for the abort on stepup. Since we don't reconstruct in-progress operations, we won't know how many operations are there in the transaction when writing the abort entry.

Comment by Judah Schvimer [ 06/May/19 ]

We should also make the IDL for this field optional.

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