Full INFO Message Example
INFO [RMI TCP Connection(12345)-IP_ADDRESS - org.apache.cassandra.db.compaction.CompactionManager:xxx] Cleanup cannot run before a node has joined the ring
What does this INFO message mean?
Cleanup cannot run before a node has joined the ring can be returned by the nodetool cleanup command when one or more nodes are in the process of being added to the cluster (bootstrapping).
Why does this message occur?
The nodetool cleanup command will remove unwanted data after adding a new node to the cluster. Cassandra does not automatically remove data from nodes that lose part of their partition range to a newly added node. Running nodetool cleanup while a node is being added to the cluster can result in the message above.
How do you fix this message?
The operator should wait for the node to fully join the cluster (show as UN in the nodetool status output) and after that retry nodetool cleanup.
Older versions of Cassandra/DSE could run into bug CASSANDRA-13526 which could result in this message being wrongly displayed. Newer versions of Cassandra(3.0.16, 3.11.2 or later) /DSE (5.x or later) contain the fix for the bug.