Skip to content

Conversation

CodeLieutenant
Copy link
Contributor

Reporting which fallback policy is used when token-aware is selected

Closes #198

Signed-off-by: Dusan Malusev <dusan@dusanmalusev.dev>
@juliayakovlev
Copy link

@dimakr can you review, please. This commit looks stuck

@juliayakovlev
Copy link

Also some tests are failed

@dimakr
Copy link
Contributor

dimakr commented Sep 15, 2025

The change looks good but the tests should be adjusted to work with updated number of returned values by the newHostSelectionPolicy (3 after the change), here

got, err := newHostSelectionPolicy(tt.policy, tt.hosts, tt.datacenter, tt.rack)
.

@CodeLieutenant

Signed-off-by: Dusan Malusev <dusan@dusanmalusev.dev>
@CodeLieutenant CodeLieutenant merged commit 08ab99c into scylladb:master Sep 23, 2025
1 check passed
@CodeLieutenant CodeLieutenant deleted the feat/report-host-policy branch September 23, 2025 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Report in scylla-bench log about running with RackAwareRoundRobinPolicy

3 participants