Jonathan, But all the old non-empty log segments are kept on the disk. And cassandra takes some time to apply the operations from these closed log segments after restart of the process.
Is it expected? best regards, 韩竹(Zhu Han) 坚果铺子 <https://jianguopuzi.com>, 最简单易用的云存储 同步文件, 分享照片, 文档备份! 2011/7/15 Jonathan Ellis <jbel...@gmail.com> > It's expected to have a new, empty segment after drain completes. > > 2011/7/14 Zhu Han <schumi....@gmail.com>: > > The deployed version is based on 0.6.13. > > > > After "nodetool drain" is invoked on one of the nodes, the commit log is > not > > emptied. Is this the expected behavior? If so, how can I rename a column > > family on 0.6.x branch? > > > > Here is the log output: > > " > > INFO [COMMIT-LOG-WRITER] 2011-07-15 00:39:49,541 CommitLogSegment.java > (line > > 50) Creating new commitlog segment > > /var/lib/cassandra/commitlog/CommitLog-1310661589541.log > > INFO [RMI TCP Connection(8)-202.120.2.16] 2011-07-15 00:39:49,544 > > StorageService.java (line 391) Node is drained > > " > > > > I saw an issue here, but it was reported against 0.8.x branch. > > https://issues.apache.org/jira/browse/CASSANDRA-2874 > > > > best regards, > > 韩竹(Zhu Han) > > > > 坚果铺子, 最简单易用的云存储 > > 同步文件, 分享照片, 文档备份! > > > > > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of DataStax, the source for professional Cassandra support > http://www.datastax.com >