[SERVER-68879] Fix race in ftdc_mirrored_reads.js Created: 16/Aug/22  Updated: 29/Oct/23  Resolved: 18/Aug/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Task 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:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2022-08-22
Participants:
Linked BF Score: 55

 Description   

Currently, the test asserts that the FTDC values of mirrored reads received on secondaries should equal the mirrored reads sent by the primary. However, since FTDC only periodically collects the metrics, it's possible for there to be a race. We should wrap the assertion in an assert.soon



 Comments   
Comment by Githook User [ 17/Aug/22 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-68879 Fix race in ftdc_mirrored_reads.js
Branch: master
https://github.com/mongodb/mongo/commit/d798c5fd75a5854fb8fefc590280aa701fa5e420

Generated at Thu Feb 08 06:11:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.