【发布时间】:2020-10-23 04:20:42
【问题描述】:
我在 Scylla db 中使用 SizeTieredCompaction 策略。我删除了特定令牌范围内的一半数据(比如说 x 到 y)。我的 gc_grace_seconds 设置为 6 小时。我想摆脱在这个令牌范围内创建的所有墓碑。如果我在 gc_grace_seconds 过去之后在集群中的所有节点上运行nodetool compact --start-token x --end-token y keyspace table,会发生什么?它会删除墓碑吗?它会消耗多少磁盘空间?会不会和nodetool compactmajor compaction 一样,需要多 50% 的空间?
【问题讨论】: