[SERVER-39434] Apply the new "commit" oplog entry for unprepared large transactions Created: 07/Feb/19  Updated: 29/Oct/23  Resolved: 14/Mar/19

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

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-32338 Update secondary oplog application ma... Closed
Related
is related to SERVER-40169 Apply commitTransaction of unprepared... Closed
is related to SERVER-39950 Merge two oplog batching code paths Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2019-03-11, Repl 2019-03-25
Participants:

 Description   

We should also ignore the “inTxn” operations on secondaries for larger transactions.



 Comments   
Comment by Githook User [ 14/Mar/19 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@10gen.com', 'username': 'mtrussotto'}

Message: SERVER-39434 Apply the new "commit" oplog entry for unprepared large transactions
Branch: master
https://github.com/mongodb/mongo/commit/3328515f7d80c8cedcaf8c0df83c6effc60330d0

Comment by Githook User [ 14/Mar/19 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@10gen.com', 'username': 'mtrussotto'}

Message: SERVER-39434 Fix typo in txn_cmds.idl – 'prepare' -> 'prepared'.
Branch: master
https://github.com/mongodb/mongo/commit/d94cbf39c2b5d1e8b46444fb0604203f86851de4

Comment by Githook User [ 14/Mar/19 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@10gen.com', 'username': 'mtrussotto'}

Message: SERVER-39434 fix comment on getCommandType in oplog_entry.h
Branch: master
https://github.com/mongodb/mongo/commit/d35bf1b426f0cafb2f40e541ee1dca0d444aded3

Comment by Siyuan Zhou [ 21/Feb/19 ]

We will have a different ticket to track the update on transaction table on secondaries, so this ticket doesn't have to include the derived operation.

Comment by Siyuan Zhou [ 15/Feb/19 ]

The oplog entries need to be applied at the "commit" time rather than their own optime, so we may need to construct new oplog entries before dispatching them to writers.

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