[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: |
|
||||||||
| 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: |
| Comment by Githook User [ 27/Jul/20 ] |
|
Author: {'name': 'Andrew Chen', 'email': 'a.chen@mongodb.com', 'username': 'AndrooTheChen'}Message: |