[SERVER-48204] Improve assertions in mirror_reads.js Created: 13/May/20  Updated: 29/Oct/23  Resolved: 27/Jul/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.1, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Andrew Chen (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng, servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Service Arch 2020-07-27, Service Arch 2020-08-10
Participants:
Linked BF Score: 16

 Description   

When we assert.soon here in mirror-reads.js, we wait for the ratio to fit within bounds instead of for an expected amount of operations to be resolved. This means (among other things) that we never return true if more operations are mirrored than expected.



 Comments   
Comment by Githook User [ 18/Aug/20 ]

Author:

{'name': 'Andrew Chen', 'email': 'a.chen@mongodb.com', 'username': 'AndrooTheChen'}

Message: SERVER-48204 Improved assertions in mirror_reads test
Branch: v4.4
https://github.com/mongodb/mongo/commit/b1b40a38891071127765b3c972e2dcc2d003345c

Comment by Githook User [ 27/Jul/20 ]

Author:

{'name': 'Andrew Chen', 'email': 'a.chen@mongodb.com', 'username': 'AndrooTheChen'}

Message: SERVER-48204 Improved assertions in mirror_reads test
Branch: master
https://github.com/mongodb/mongo/commit/40019ee39989d486dc97460fb19924328c5713a0

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