[SERVER-67201] Make retryable_findAndModify_commit_and_abort_prepared_txns_after_failover_and_restart.js wait for the prepareTransaction oplog entry to be majority committed Created: 10/Jun/22 Updated: 06/Dec/22 Resolved: 17/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jason Zhang | Assignee: | [DO NOT USE] Backlog - Sharding NYC |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | sharding-nyc-subteam3 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Sharding NYC
|
||||
| Participants: | |||||
| Linked BF Score: | 8 | ||||
| Description |
|
Currently in the test, we do a stepdown immediately after entering the prepareTransaction state. If the stepdown is executed before the prepareTransaction oplog entry is majority committed, the following commitTransaction will fail. Waiting for the entry to fully replicate before continuing should fix this issue. |
| Comments |
| Comment by Lingzhi Deng [ 17/Jun/22 ] |
|
I am closing this as "Won't Fix" as repl will take the BF. |