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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to