[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:
Depends
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: SERVER-45909 Ensure fetchedBatches stat is updated before check in collection_clone_resume_after_network_error.js
Branch: master
https://github.com/mongodb/mongo/commit/c79da4b810775ebe2aac8e4399fcecb6e6cdb209

Generated at Thu Feb 08 05:10:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.