[SERVER-82706] check_metadata_consistency.js should use retriable writes when contacting config server Created: 02/Nov/23 Updated: 02/Jan/24 Resolved: 04/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 7.1.0, 7.2.1 |
| Fix Version/s: | 7.2.1, 7.3.0-rc0, 7.0.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Enrico Golfieri | Assignee: | Pol Pinol |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | car-qw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Catalog and Routing
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v7.2, v7.0
|
||||||||
| Sprint: | CAR Team 2023-12-11 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 5 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
change_metadata_consistency.js often attempts to access to the config server for inserts or updates in order to force an inconsistency and make sure those would be check by the { checkMetadataConsistency ... }command. The test seems to access through direct connections to the CSRS in several points such here or here This can be problematic in case of a stepdown suite, where the insert/update would fail without being retried. The goal of this ticket is either to:
Evaluate if point 2 still make sense. The goal of this jstest seems be the idea of catching some forced inconsistencies and not to simulate a possible user scenario. |
| Comments |
| Comment by Githook User [ 02/Jan/24 ] |
|
Author: {'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}Message: (cherry picked from commit 494690bc715026b7a8ff9e0f22eed4322957aa5a) |
| Comment by Githook User [ 15/Dec/23 ] |
|
Author: {'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}Message: (cherry picked from commit 494690bc715026b7a8ff9e0f22eed4322957aa5a) GitOrigin-RevId: 405ab12e7132c2d200b6e3d2e15cdecb706070b6 |
| Comment by Githook User [ 04/Dec/23 ] |
|
Author: {'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}Message: GitOrigin-RevId: 630c1aeec01839ca53c09bbfeacf3421ab6ec74f |
| Comment by Githook User [ 27/Nov/23 ] |
|
Author: {'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}Message: |