-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
default_lb: LWT optimisation regression test
The test runs against ClusterData with node F being disabled by HostFilter. In such arrangement, F should be never returned. As F is the primary replica for executed statement and no DC is preferred, the second replica (`A`) cannot be computed cheaply, so `pick` should return None. Before the bug was fixed, `pick` would return an arbitrary robinned node, e.g. `B` (not even a replica).
- Loading branch information
Showing
1 changed file
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters