Skip to content

Conversation

@dkropachev
Copy link

@dkropachev dkropachev commented Aug 19, 2025

Considering them as LOCAL confuses TokenAwarePolicy as result in some cases it shuffle nodes from non-local and local racks together.

Add some unit tests for distance calculation and query planing.

Fixes: #255

Considering them as `LOCAL` confuses `TokenAwarePolicy` as result in
some cases it shuffle nodes from non-local and local racks together.
@dkropachev dkropachev requested a review from Bouncheck August 19, 2025 20:24
@dkropachev dkropachev added the bug Something isn't working label Aug 19, 2025
@dkropachev dkropachev self-assigned this Aug 19, 2025
planing

There are no test for it, as result policy does not work as expected.
Let's have some tests for it.
@dkropachev dkropachev force-pushed the dk/3.x-consider-nodes-from-remote-rack-as-remote branch from c5a1b72 to 267a0af Compare August 19, 2025 20:30
@dkropachev dkropachev merged commit 1952ab9 into scylladb:scylla-3.x Aug 20, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants