cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Didier (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10371) Decommissioned nodes can remain in gossip
Date Tue, 22 Dec 2015 14:40:46 GMT


Didier commented on CASSANDRA-10371:

Hi Stefania,

You are perfectly right ! I just fix my issue when you wrote your answer. My problem is that
in fact there is a lot of nodes impacted in this mess (not just one : Multi DC Europe / US).

I have setup these entries in the in one node :


With this trick I have found the culpurit nodes with a simple tail in the system.log :

I just run a tail -f system.log | grep "TRACE" | grep -A 10 -B 10 ""

TRACE [GossipStage:1] 2015-12-22 14:25:10,262 (line 40) Received
a GossipDigestSynMessage from /
TRACE [GossipStage:1] 2015-12-22 14:25:10,262 (line 71) Gossip
syn digests are : / / /
/ /

Every time I found a match with a phantom node IP in the Gossip syn digests, I run this on
the affected node (in this example : 

nodetool drain && /etc/init.d/cassandra restart

After some nodes (15 nodes), I check if I get some entries in my system.log with the phantom
nodes ... and voila ! 
No more phantom nodes.

Thanks for your help ;)


> Decommissioned nodes can remain in gossip
> -----------------------------------------
>                 Key: CASSANDRA-10371
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Distributed Metadata
>            Reporter: Brandon Williams
>            Assignee: Stefania
>            Priority: Minor
> This may apply to other dead states as well.  Dead states should be expired after 3 days.
 In the case of decom we attach a timestamp to let the other nodes know when it should be
expired.  It has been observed that sometimes a subset of nodes in the cluster never expire
the state, and through heap analysis of these nodes it is revealed that the epstate.isAlive
check returns true when it should return false, which would allow the state to be evicted.
 This may have been affected by CASSANDRA-8336.

This message was sent by Atlassian JIRA

View raw message