[SERVER-53248] call awaitLastOpCommitted before committing transaction in retryable_prepared_commit_transaction_after_failover.js Created: 04/Dec/20 Updated: 29/Oct/23 Resolved: 11/Jan/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0, 4.2.13, 4.4.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samyukta Lanka | Assignee: | Samyukta Lanka |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v4.4, v4.2
|
||||||||
| Sprint: | Repl 2020-12-14, Repl 2020-12-28, Repl 2021-01-11, Repl 2021-01-25 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 17 | ||||||||
| Description |
|
If the primary hadn't propagated the commit point to the secondary before it's stepped up in the test, then when the new primary goes to commit the transaction, it may not think that the prepare was majority committed. We should call awaitLastOpCommitted after the new primary steps up before committing the transaction. |
| Comments |
| Comment by Githook User [ 18/Feb/21 ] |
|
Author: {'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}Message: |
| Comment by Githook User [ 17/Feb/21 ] |
|
Author: {'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}Message: |
| Comment by Githook User [ 11/Jan/21 ] |
|
Author: {'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}Message: |