[DRIVERS-1926] Server selection load balancing algorithm prose test is flaky Created: 20/Sep/21 Updated: 18/Oct/23 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | Server Selection |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Patrick Freed | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | prose-test | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Epic Link: | DRIVERS-781 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||
| Quarter: | FY22Q4 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | Drivers need to update the operationCount based selection prose test implementation from server-selection-tests.rst |
||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
SummaryThe operationCount based selection prose test in the server selection spec has proven to fail occasionally due to random slowness in in one of the mongoses. This is likely due to the mongoses competing for resources on the same virtual host (which is itself competing for resources). The C# and Rust driver teams have experimented with modifying this test to reduce the failures to some success. We should include these modifications in the actual spec so that future teams will not experience the same failures. MotivationWho is the affected end user?Drivers teams How does this affect the end user?Their tests occasionally fail How likely is it that this problem or use case will occur?The test fails 1-2% of the time Is this ticket only for tests?Yes |
| Comments |
| Comment by Githook User [ 19/Apr/22 ] |
|
Author: {'name': 'Patrick Freed', 'email': 'patrick.freed@mongodb.com', 'username': 'patrickfreed'}Message: DRIVERS-1926 Improve stability of server selection load balancing algorithm test (#1166) |