sstablelevelreset

Resets the level to zero on a set of SSTables.

Reset level to zero on a set of SSTables using LeveledCompactionStrategy.

Usage:
install_location/tools/bin/sstablelevelreset [--really-reset] keyspace table
The option --really-reset is a warning that the DataStax Distribution of Apache Cassandra™ (DDAC) is stopped before the tool is run.

Procedure

Stop DDAC on the node. Choose a keyspace and table to reset to level 0.
sstablelevelreset --really-reset cycling cyclist_name

If the designated table is already at level 0, then no change occurs. If the SSTable is releveled, the metadata is rewritten to designate the level to 0.