[ 
https://issues.apache.org/jira/browse/CASSGO-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

João Reis updated CASSGO-124:
-----------------------------
    Change Category: Code Clarity
         Complexity: Normal
             Status: Open  (was: Triage Needed)

> 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
>            Priority: Normal
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to