joao-r-reis commented on PR #1886:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1886#issuecomment-2976465095

   > The problem with setupConn is that it'll end up overwriting the host 
information with incorrect info since the local table has wrong information in 
it. It sounds like other drivers just do a full ring refresh but I don't think 
we can do that in this case. Should we just be ignoring some information in 
addOrUpdate? @joao-r-reis thoughts?
   
   Yeah the fix is to make sure we do a full ring refresh instead of just 
updating the local host so that we can overwrite the local host info with the 
info from system.peers. Doing a full refresh even without any overwriting would 
also mitigate the issue because the current behavior of every host turning into 
127.0.0.1 eventually after enough reconnects would no longer exist.


-- 
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: pr-unsubscr...@cassandra.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to