[SERVER-45909] Ensure fetchedBatches stat is updated before check in collection_clone_resume_after_network_error.js Created: 31/Jan/20 Updated: 29/Oct/23 Resolved: 10/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Vesselina Ratcheva (Inactive) | Assignee: | Vesselina Ratcheva (Inactive) |
| 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 | ||||
| Sprint: | Repl 2020-02-10, Repl 2020-02-24 | ||||
| Participants: | |||||
| Linked BF Score: | 16 | ||||
| Description |
|
Waiting on the after-batch failpoint is not always sufficient as we increment fetchedBatches in a callback that is executed asynchronously. We should make sure that our assertion on that stat always has a chance to read the most up-to-date value. |
| Comments |
| Comment by Githook User [ 10/Feb/20 ] |
|
Author: {'username': 'vessy-mongodb', 'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com'}Message: |