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

Romain Hardouin commented on CASSANDRA-16314:
---------------------------------------------

Hi [~dnamicro] , there is nothing wrong with cleanup. Since you didn't add new 
nodes in the cluster the command has nothing to do.
{quote}nodetool cleanup - Triggers the immediate cleanup of keys *no longer 
belonging to a node*.
{quote}
[https://cassandra.apache.org/doc/latest/tools/nodetool/cleanup.html]
{quote}
h2. Cleanup data after range movements

As a safety measure, Cassandra does not automatically remove data from nodes 
that “lose” part of their token range due to a range movement operation 
(bootstrap, move, replace). Run *{{nodetool cleanup}}* on the nodes that lost 
ranges to the joining node when you are satisfied the new node is up and 
working. If you do not do this the old data will still be counted against the 
load on that node.
{quote}
[https://cassandra.apache.org/doc/latest/operating/topo_changes.html]

 

 

 

> nodetool cleanup not working
> ----------------------------
>
>                 Key: CASSANDRA-16314
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16314
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: AaronTrazona
>            Priority: Normal
>         Attachments: image-2020-12-07-09-23-02-002.png, 
> image-2020-12-07-09-23-33-788.png, image-2020-12-07-09-24-54-453.png, 
> image-2020-12-07-09-26-28-702.png
>
>
> Hi,
>  
> After setting up the 3 clusters, I want to free up the disk on my first 
> cluster since 
> the previous still there.
> This is the nodetool status before running the nodetool cleanup
> !image-2020-12-07-09-23-02-002.png!
> When I run the  nodetool cleanup 
> !image-2020-12-07-09-23-33-788.png!
> After I run the nodetool cleanup . I check if the node free up the spaces. 
> This is the result
> !image-2020-12-07-09-24-54-453.png!
> It's seems that the nodetool cleanup not working well
> cassandra version and java version
> !image-2020-12-07-09-26-28-702.png!
> Thanks.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to