Ensure data consistency using nodetool commands

Use these nodetool commands to ensure data consistency and manage table repairs.


nodetool abortrebuild

Stops a running rebuild operation. Completes processing of active streams.

nodetool cleanup

Immediately cleans up keyspaces and tables that no longer belong to a node.

nodetool flush

Flushes one or more tables from the memtable to SSTables on disk.

nodetool mark_unrepaired

Marks all SSTables of a table or keyspace as unrepaired.

nodetool rebuild

Rebuilds data by streaming from other nodes.

nodetool rebuild_index

Fully rebuilds native secondary indexes for a specified table.

nodetool rebuild_view

Rebuilds specified materialized views for the specified table.

nodetool resetlocalschema

Drops the schema information of the local node and resynchronizes the schema from another node.

nodetool repair

Repairs one or more tables in a cluster when all involved replicas are up and accessible.

nodetool scrub

Creates a snapshot and then rebuilds SSTables for one or more tables.

nodetool verify

Checks the data checksum for one or more tables.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com