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 <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Thursday, March 29, 2018 at 1:09 AM To: "[email protected]" <[email protected]> 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.
