[ 
https://issues.apache.org/jira/browse/CASSANDRA-16561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17322328#comment-17322328
 ] 

Brandon Williams commented on CASSANDRA-16561:
----------------------------------------------

Also note that since we init the saved state with a generation and max version 
of zero, we won't send these in a digest since they won't be seen as changed.  
Thus adding them is doubly useless since we never send them in the shadow 
round, but if we did they wouldn't contain any information.

> Gossip is not populated with tokens/host_ids
> --------------------------------------------
>
>                 Key: CASSANDRA-16561
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16561
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Cluster/Gossip
>            Reporter: Brandon Williams
>            Priority: Normal
>             Fix For: 2.2.x, 3.0.x, 3.11.x, 4.0.x
>
>
> Originally when we began persisting host information such a tokens/host_id, 
> we would populate gossip with this information.  At some point we began only 
> populating TokenMetadata, which gives us most of the same benefit, but in a 
> full ring restart where the gossip ether is empty, it populates useless info 
> such as :
> {quote}
> /10.101.32.212
>   generation:0
>   heartbeat:0
>   TOKENS: not present
> {quote}
> which is the minimum required for a state to exist.  Instead we should keep 
> gossip in sync with TMD when populating this information like we used to do.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to