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

   Please note that it is possible to filter bogus `system.peers` entries as 
long as you have access to up/down status of nodes.
   
   For a bogus entry left behind after replacing a node, for each of its 
tokens, there will be some other node that owns the token and is up.
   
   If all distinct known tokens are accounted for by hosts that are up and 
agree, `awaitSchemaAgreement` should return nil.
   
   
   ```
    peer          | data_center | host_id                              | 
preferred_ip | rack | release_version | rpc_address   | schema_version          
             | tokens
   
---------------+-------------+--------------------------------------+--------------+------+-----------------+---------------+--------------------------------------+--------------------------------------------------------------------------------------------------
   ...
     10.100.12.56 |    fcevent1 | c048b2bf-3c6a-47e2-a386-2f5d3966a3bf |        
 null |    b |         3.11.11 |  10.100.12.56 | 
269a255f-a4ad-312f-9ac8-6ddd1d7396b4 |   {'-4136344956821905473', 
'-7691186262693016981', '4222335951577735102', '7296793297195993708'}
     10.100.12.67 |    fcevent1 | d0918a84-f012-4267-b0e7-09d100569a61 |        
 null |    a |         3.11.11 |  10.100.12.67 | 
269a255f-a4ad-312f-9ac8-6ddd1d7396b4 |     {'2300800110566323476', 
'5759564624386864404', '8065407633600558358', '9218329138207405334'}
     10.100.12.41 |    fcevent1 | 153cf2ce-4ace-44ab-95b1-fe7343a5aa14 |        
 null |    b |         3.11.11 |  10.100.12.41 | 
1fb847cb-875c-3aec-ae37-b7a68fab1896 |    {'-3655960996569052565', 
'-8267647014996440468', '5567411040285723241', '955725021858335338'}
    10.100.12.194 |    fcevent1 | 1fdceb8e-8cd6-465a-a2d3-26dac5e3fd6d |        
 null |    b |         3.11.11 | 10.100.12.194 | 
269a255f-a4ad-312f-9ac8-6ddd1d7396b4 |    {'-3655960996569052565', 
'-8267647014996440468', '5567411040285723241', '955725021858335338'}
     10.100.12.30 |    fcevent1 | 05aa4f26-12eb-4d5d-b9db-88f9d800f923 |        
 null |    c |         3.11.11 |  10.100.12.30 | 
269a255f-a4ad-312f-9ac8-6ddd1d7396b4 |   {'-2695193076063346753', 
'-3848114580670193728', '4894873495931729171', '5663487832336293822'}
    10.100.12.184 |    fcevent1 | 6eb54f63-f1eb-426f-8d92-515b1e323945 |        
 null |    b |         3.11.11 | 10.100.12.184 | 
269a255f-a4ad-312f-9ac8-6ddd1d7396b4 |    {'-2503039491962205590', 
'-773657235051935126', '4606643119780017427', '8834021970005123009'}
   ...
   ```


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