You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "João Reis (Jira)" <ji...@apache.org> on 2026/05/20 14:15:00 UTC
[jira] [Created] (CASSGO-124) Use unfiltered hosts list to build token ring
João Reis created CASSGO-124:
--------------------------------
Summary: Use unfiltered hosts list to build token ring
Key: CASSGO-124
URL: https://issues.apache.org/jira/browse/CASSGO-124
Project: Apache Cassandra Go driver
Issue Type: Improvement
Components: Core
Reporter: João Reis
Token ring in token aware policy is built from the internal host list that is maintained via AddHost() and RemoveHost() methods of the policy interface. These methods are only called for hosts that were not filtered by a HostFilter.
This creates a lot of complexity (and therefore edge cases) when building the token ring because the method doesn't have access to all the host metadata.
We should make the token aware policy retrieve the unfiltered host list from the driver when building the token ring but we need to be careful to ensure that the policy only picks hosts for queries that were already filtered.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org