Cassandra CommitLog目录忘记删除文件

Cassandra CommitLog Directory Forgetting To Remove Files

版本:DSE 6.7.5,CQL 规范 3.4.5。
我有 8GB commitlog_total_space_in_mb.
文件夹当前为 13GB。
查看文件夹中的日期戳,它似乎忘记了提交日志,或者在刷新内存表时可能无法删除提交日志。
发生在多个节点上。

-rw-r--r--。 1 卡桑德拉卡桑德拉 33554338 9 月 20 日 02:00 CommitLog-600-1568892978830.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554227 9 月 20 日 02:02 CommitLog-600-1568892978853.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554217 9 月 20 日 02:02 CommitLog-600-1568892978862.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554337 9 月 20 日 02:03 CommitLog-600-1568892978863.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554169 9 月 20 日 02:04 CommitLog-600-1568892978864.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554412 9 月 20 日 08:19 CommitLog-600-1568892954896.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554326 9 月 20 日 08:19 CommitLog-600-1568892954901.log
-rw-r--r--。 1 cassandra cassandra 33554133 9 月 20 日 08:20 CommitLog-600-1568892954904.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554281 9 月 20 日 08:20 CommitLog-600-1568892954905.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 335538​​85 9 月 20 日 08:20 CommitLog-600-1568892954906.log

当我执行 nodetool flush/drain 时,它不会删除任何旧文件。

-rw-r--r--。 1 卡桑德拉卡桑德拉 33554338 9 月 20 日 02:00 CommitLog-600-1568892978830.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554227 9 月 20 日 02:02 CommitLog-600-1568892978853.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554217 9 月 20 日 02:02 CommitLog-600-1568892978862.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554337 9 月 20 日 02:03 CommitLog-600-1568892978863.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 33554169 9 月 20 日 02:04 CommitLog-600-1568892978864.log
-rw-r--r--。 1 卡桑德拉卡桑德拉 20 年 9 月 28 日 08:46 CommitLog-600-1568892981041.log

当我启动节点备份时,它会遍历它们并在最终提交日志附近崩溃。 https://pastebin.com/Kw9Kee5C

CassandraDaemon.java:129 - Exception in thread Thread[PerDiskMemtableFlushWriter_0:11,5,main] java.lang.AssertionError: null


它不会重新启动,除非我将一些最后的提交日志移出或全部移出。

我该怎么做才能解决这个问题

我暂时通过将压缩更改为

解决了我的问题
compaction = {'class': 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy'}

由于某种原因,具有以下压缩的单元格类型的地图导致了我的错误。

{'class': 'org.apache.cassandra.db.compaction.TimeWindowCompactionStrategy', 'compaction_window_size': '30', 'compaction_window_unit': 'DAYS', 'max_threshold': '32', 'min_threshold': '4', 'split_during_flush': 'true'}