Originally from the User Slack
@Renato_Nascimento: Hi team, since I have upgraded my clusters to 6.1 (with the official AMI), I noticed that the nodetool cleanup
operation is cluster wide, even with tables disabled. Is this the expected behavior? Is there a way to run cleanups just on a selected node? Thank you!
@Thomas_Braly: Hey @Renato_Nascimento, nice to see you again! I’ll talk with my team and get you an answer asap.
In ScyllaDB 6.1 nodetool cleanup
only runs on the node you point it at, but if you don’t give it a keyspace (and optionally a table), it will scan every keyspace on that host—even tables you’ve otherwise disabled.
To limit it:
nodetool -h <NODE_IP> cleanup <keyspace> [<table>]
More details here: https://opensource.docs.scylladb.com/branch-6.1/operating-scylla/nodetool.html
Let me know if you have any additional questions!
Nodetool | ScyllaDB Docs