drain

This next operation drains the node completely, by flushing all memtables to disk and stopping all connections from the client and nodes. Hence this operation will definitely require a restart in order to bring it back up. nodetool drain is generally used while upgrading a Cassandra process:

$CASSANDRA_HOME/bin/nodetool drain

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.