gpt4 book ai didi

cassandra - sstableexpiredblockers : what to do having blocking SSTables in Cassandra?

转载 作者:行者123 更新时间:2023-12-03 13:42:13 26 4
gpt4 key购买 nike

我已经意识到一些 sstables 不会被丢弃,即使它们只包含墓碑。
使用手动主要压缩这些 sstables 被删除。
也许它需要将 unchecked_tombstone_compaction 与 gc_grace_period 一起更新为 true

我见过实用程序 sstableexpiredblockers 实用程序,它将显示阻止 SSTable 丢弃的阻塞 SSTables。

During compaction, Cassandra can drop entire SSTables if they contain only expired tombstones and if it is guaranteed to not cover any data in other SSTables. This diagnostic tool outputs all SSTables that are blocking other SSTables from being dropped.



我不明白:

... if it is guaranteed to not cover any data in other SSTables ...



由于我的压缩策略是 TimeWindowCompactionStrategy,所有 sstables 都有不同的时间间隔。

我想知道如何处理那些阻塞的 SSTable。

最佳答案

刚看了一下(有点晚了)。您可以检查安装过程中是否设置了 NTP 服务器池。这可能是时钟未同步的一个重要原因。
此外,已经看到,为此目的使用物理机而不是依赖虚拟机是个好主意。

关于cassandra - sstableexpiredblockers : what to do having blocking SSTables in Cassandra?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48228393/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com