[SERVER-58148] mirrored_reads.js assertion does not consider mirrored read failure Created: 29/Jun/21 Updated: 29/Oct/23 Resolved: 06/Jul/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.10, 5.0.4, 5.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alex Li | Assignee: | Alex Li |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | save-for-alex, 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: |
v5.0, v4.4
|
||||||||||||
| Sprint: | Service Arch 2021-07-12 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 21 | ||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
|
It is asserted in noPassthrough/mirror_reads.js that mirrored operations (i.e., readsSent) is equal to readsResolved, which may not always be true if the reads fail for whatever reason (i.e., secondary shuts down or fails set up). Possible solutions include adding logic in the test that considers failed reads, or changing the mirrored reads section to resolve before isRetriableError. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 20/Sep/21 ] |
|
Author: {'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'alexli12456'}Message: (cherry picked from commit 8f3f7376532a70cfe422f276f4bc9b5233ec2966) |
| Comment by Githook User [ 17/Sep/21 ] |
|
Author: {'name': 'Alex Li', 'email': 'alex.li@mongodb.com', 'username': 'alexli12456'}Message: (cherry picked from commit 8f3f7376532a70cfe422f276f4bc9b5233ec2966) |
| Comment by Githook User [ 06/Jul/21 ] |
|
Author: {'name': 'Alex Li', 'email': 'alex.li@mongodb.com'}Message: |