Was this page helpful?
Caution
You're viewing documentation for a previous version of ScyllaDB Open Source. Switch to the latest stable version.
drain - Flushes all memtables from a node to the SSTables that are on the disk. ScyllaDB stops listening for connections from the client and other nodes. You need to restart ScyllaDB after running this command. This command is usually executed before upgrading a node to a new version or before any maintenance action is performed. When you want to simply flush memtables to disk, use the nodetool flush command.
For example:
nodetool drain
See also
Was this page helpful?