[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: |
|
||||||||||||||||||||
| 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: |
| Comment by Githook User [ 14/Mar/19 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@10gen.com', 'username': 'mtrussotto'}Message: |
| Comment by Githook User [ 14/Mar/19 ] |
|
Author: {'name': 'Matthew Russotto', 'email': 'matthew.russotto@10gen.com', 'username': 'mtrussotto'}Message: |
| 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. |