I am just testing the drop table
command in Cassandra 3.11. The sequence is as follows:
- Load data worth 10gb
- drop the table
- on the node,
- nodetool flush
- nodetool clearsnapshot
- nodetool cleanup
Still I see those SSTables directory under the data folder (using default auto_snapshot = true
).
select count(*) ..
shows ZERO, which is correct.
Why the folders are not getting deleted?
Best Answer
Did you clear the snapshot of all clusters?
Clear it with