Recently we made a change to our production env c* cluster (2.1.18) -
placing the commit log to the same SSD where data is stored, which needs
restarting all nodes.
Before restarting a cassandra node, we ran the following nodetool utils:
$ nodetool disablethrift && sleep 5
$ nodetool disablebinary && sleep 5
$ nodetool disable gossip && sleep 5
$ nodetool drain && sleep 5
It was "graceful" as expected (no significant errors found), but the
process is still a myth to us: are those commands used above "sufficient",
and/or why? The offical doc (docs.datastax.com) did not help with this
operation detail, though "nodetool drain" is apparently essential.