You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "raj14243 (via GitHub)" <gi...@apache.org> on 2026/01/15 20:32:12 UTC

[I] TokenAwareHostPolicy ignores replica shuffling for non-default keyspaces [cassandra-gocql-driver]

raj14243 opened a new issue, #1925:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1925

   This is a follow-up for the issue reported in #1621.
   
   PR #1714 fixes the problem only partially. The keyspace is read from the prepared statement, but the replica map contains information only for the default keyspace configured for the session. As a result, the code at [policies.go:L615](https://github.com/apache/cassandra-gocql-driver/blob/f1e31a58f7e0c25e58e2e2a0a0c6de358e643e8b/policies.go#L615) returns nil, causing the query plan to fall back to primary-replica selection.
   
   Impact: requests are routed only to the primary replica, even when replica shuffling is enabled, leading to reduced load distribution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Re: [I] TokenAwareHostPolicy ignores replica shuffling for non-default keyspaces [cassandra-gocql-driver]

Posted by "joao-r-reis (via GitHub)" <gi...@apache.org>.
joao-r-reis commented on issue #1925:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1925#issuecomment-3938861498

   Is this issue the same as https://issues.apache.org/jira/browse/CASSGO-104 which is being handled in #1926 ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Re: [I] TokenAwareHostPolicy ignores replica shuffling for non-default keyspaces [cassandra-gocql-driver]

Posted by "raj14243 (via GitHub)" <gi...@apache.org>.
raj14243 commented on issue #1925:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1925#issuecomment-3942479654

   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Re: [I] TokenAwareHostPolicy ignores replica shuffling for non-default keyspaces [cassandra-gocql-driver]

Posted by "joao-r-reis (via GitHub)" <gi...@apache.org>.
joao-r-reis closed issue #1925: TokenAwareHostPolicy ignores replica shuffling for non-default keyspaces
URL: https://github.com/apache/cassandra-gocql-driver/issues/1925


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org