Nodetool drain and nodetool flush are similar commands. Both commands flush memtable to disk. The difference is a nodetool drain will make C* stop listening for connections.
From: Eunsu Kim <eunsu.bil...@gmail.com> Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org> Date: Thursday, March 29, 2018 at 1:09 AM To: "user@cassandra.apache.org" <user@cassandra.apache.org> Subject: I experienced hang during 'nodetool drain' (attached threaddump) Hi Everyone. To apply the settings of the added disk, I have rolling restarted the Cassandra cluster. nodetool drain -> stop-server -> ………. -> start But some nodes froze during the drain. At the time, I have a thread dump attached. The last server did not freeze when I did ‘nodetool flush' before ‘nodetool drain'. I'm using Cassandra 3.11.0. thank you.