Hi all, To quote Sebastian Estevez in one recent thread: "You said you ran a nodetool drain before the restart, but your logs show commitlogs replayed. That does not add up..." The docs seem to generally agree with this: if you did `nodetool drain` before restarting your node there shouldn't be any commitlogs.
But my experience has been that if I do `nodetool drain`, I need to wait at least 30-60 seconds after it has finished if I really want no commitlog replay on restart. If I restart immediately (or even 10-20s later) then it replays plenty. (This was true on 2.X and is still true on 2.1.7 for me.) Is this unusual or the same thing others see? Is `nodetool drain` really supposed to wait until all memtables are flushed and commitlogs are deleted before it returns? Thanks, -dan