Cassandra删除提交日志文件

时间:2015-07-28 15:26:49

标签: cassandra

我有近200 GB的提交日志文件,因为commitlog_total_space_in_mb已被注释。我已启用它并更改了提交日志文件的路径,我在旧位置仍然有200 GB的提交日志文件,我想知道什么时候可以我删除了提交日志文件?

1 个答案:

答案 0 :(得分:4)

If you changed locations for the commit logs C* wont manage old ones (providing you restarted the node since you made the change). You will have to delete them yourself. I am not familiar enough with scenario but to be safe you can do a repair to make sure every things where it should be and delete them after that.