[SERVER-79124] Apply implicit updates to the retry table for prepared transactions in separate transaction on secondary Created: 19/Jul/23 Updated: 19/Dec/23 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Matthew Russotto | Assignee: | Backlog - Replication Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | repl-shortlist | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Participants: |
| Description |
|
We can have an operation in a a prepared transaction which has needsRetryImage set. On the primary that will be applied at oplog write (prepare) time. On the secondary, it becomes part of the prepared transaction and is applied at commit time. We should change this so the secondaries apply the retry image write outside the prepared transaction. |