版本: DSE 6.7.5,CQL规范3.4.5。
我有8GB的commitlog_total_space_in_mb。
文件夹当前为13 is。
查看文件夹中的日期标记,它似乎忘记了提交日志,或者当它刷新memtables时可能无法删除这些提交日志。
发生在多个节点上。
rw-r-r-r.卡桑德拉卡桑德拉33554338 9月20日02:00委员会日志-1568892978830.log
rw-r-r-r.卡桑德拉卡桑德拉33554227 9月20日02:02委员会日志-1568892978853.log
rw-r-r-r.1卡桑德拉卡桑德拉33554217 9月20日02:02委员会日志-1568892978862
rw-r-r-r.1 cassandra cassandra 33554337 9月20日02:03委员会日志-600-1568892978863
rw-r-r-r.1卡桑德拉卡桑德拉33554169 9月20日02:04委员会日志-1568892978864
rw-r-r-r.1卡桑德拉卡桑德拉33554412 9月20日08:19委员会日志-1568892954896.log
rw-r-r-r.1卡桑德拉卡桑德拉33554326 9月20日08:19委员会日志-1568892954901
rw-r-r-r.卡桑德拉卡桑德拉33554133 9月20日08:20委员会日志-1568892954904
rw-r-r-r.卡桑德拉卡桑德拉33554281 9月20日08:20委员会日志-1568892954905
rw-r-r-r.卡桑德拉卡桑德拉33553885 9月20日08:20委员会日志-1568892954906
当我执行nodetool刷新/排出时,它将不会删除任何旧文件。
rw-r-r-r.卡桑德拉卡桑德拉33554338 9月20日02:00委员会日志-1568892978830.log
rw-r-r-r.卡桑德拉卡桑德拉33554227 9月20日02:02委员会日志-1568892978853.log
rw-r-r-r.1卡桑德拉卡桑德拉33554217 9月20日02:02委员会日志-1568892978862
rw-r-r-r.1 cassandra cassandra 33554337 9月20日02:03委员会日志-600-1568892978863
rw-r-r-r.1卡桑德拉卡桑德拉33554169 9月20日02:04委员会日志-1568892978864
rw-r-r-r.卡桑德拉·卡桑德拉9月28日08:46委员会日志-1568892981041
当我启动节点备份时,它会遍历这些节点,并在最终的提交日志中崩溃。https://pastebin.com/Kw9Kee5C
CassandraDaemon.java:129 - Exception in thread Thread[PerDiskMemtableFlushWriter_0:11,5,main] java.lang.AssertionError: null除非我将最后一些提交日志移出或全部移出,否则它将不会重新启动。
我能做些什么来解决这个问题
发布于 2019-09-25 03:24:02
目前,我已经通过将压缩更改为
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'} https://stackoverflow.com/questions/58019917
复制相似问题