fesiqueira commented on issue #1736:
URL: 
https://github.com/apache/cassandra-gocql-driver/issues/1736#issuecomment-3399828250

   > The question is how driver can distinguish ghost nodes from normal, me, 
looking at the schema of `system.peers` it is not clear, unless you provide 
exact record from that table for ghost node it would be hard to tell how to do 
that or is it even possible.
   
   I think I created some confusion by calling it a "ghost node", but just by 
looking at the `system.peers` table is not really possible to tell which record 
is not supposed to be there for sure. 
   
   It has nothing particularly distinctive from other records, with the 
exception that I know it should not be there because I manually destroyed the 
Cassandra node with said IP.
   
   What I thought (and maybe it's the only way to implement it, not sure) is 
something like João 
[linked](https://github.com/apache/cassandra-java-driver/blob/e2c7ad4d11555eeacce6bd436547b403f83eb24f/core/src/main/java/com/datastax/oss/driver/internal/core/metadata/SchemaAgreementChecker.java#L199),
 where `gocql` would check if the node is up, and if not its schema version 
would not be checked against the others. What do you think?


-- 
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