sstablerepairedset
The sstablerepairedset utility will reset the level to 0 on a given set of SSTables.
This tool is intended to mark specific SSTables as repaired or
unrepaired. It is used to set the
repairedAt
status on a given set of SSTables. This metadata
facilitates incremental repairs. It can take in the path to an individual SSTable or
the path to a file containing a list of SSTables paths.Warning: Do not
run this command until you have stopped Cassandra on the node.
Use this tool in the process of migrating a Cassandra installation to incremental repair.
Usage:
- DataStax Enterprise 5.0 Installer Services and package installations:
sstablerepairedset [--really-set] [--is-repaired | --is-unrepaired] [-f sstable-list | sstables]
- DataStax Enterprise 5.0 Installer No-Services and tarball installations:
cd install_location/resources/cassandra/tools $ bin/sstablerepairedset [--really-set] [--is-repaired | --is-unrepaired] [-f sstable-list | sstables]
- Cassandra package installations:
sstablerepairedset [--really-set] [--is-repaired | --is-unrepaired] [-f sstable-list | sstables]
- Cassandra tarball installations:
cd install_location/tools $ bin/sstablerepairedset [--really-set] [--is-repaired | --is-unrepaired] [-f sstable-list | sstables]