Was this page helpful?
Caution
You're viewing documentation for a previous version of ScyllaDB Enterprise. Switch to the latest stable version.
rebuild [<src-dc-name>]
- This command rebuilds a node’s data by streaming data from other nodes in the cluster (similarly to bootstrap).
Rebuild operates on multiple nodes in a Scylla cluster. It streams data from a single source replica when rebuilding a token range. When executing the command, Scylla first figures out which ranges the local node (the one we want to rebuild) is responsible for. Then which node in the cluster contains the same ranges. Finally, Scylla streams the data to the local node.
When adding a new data-center into an existing Scylla cluster use the rebuild command.
Note
The Scylla rebuild process continues to run in the background, even if the nodetool command is killed or interrupted.
For Example:
nodetool rebuild <src-dc-name>
Was this page helpful?