[SERVER-59413] Fix possible race in tenant_migration_fetch_committed_transactions_retry.js Created: 17/Aug/21 Updated: 29/Oct/23 Resolved: 24/Aug/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.4, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jason Chan | Assignee: | Jason Chan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Backport Requested: |
v5.0
|
||||
| Sprint: | Repl 2021-08-23, Repl 2021-09-06 | ||||
| Participants: | |||||
| Description |
|
Currently, tenant_migration_fetch_committed_transactions_retry.js intends to test the case where a sync source failure triggers a restart of the recipient future chain at the time of fetching committed transactions before the startOpTime. In particular, we want to fail in this block here while fetching committed transactions in the middle of a batch. However, it's possible that in the test, we restart the primary and then release the failpoint and the recipient moves on and fetches the next entry before restarting the future chain. In this case, we don't actually end up executing the retry logic that we want to test. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 21/Sep/21 ] |
|
Author: {'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}Message: (cherry picked from commit f7a517bc379595adad41b7358244c1e56d129736) |
| Comment by Githook User [ 24/Aug/21 ] |
|
Author: {'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}Message: |