cassandra 中的墓地压实是什么?

What is the graveyard compaction in cassandra?

这里是 Cassandra 菜鸟。在浏览文档等时,我不断地找到对墓地压实(偶尔还有墓碑)的引用,例如:

$ cassandra-cli 
[default@unknown] help truncate;
...
A snapshot of the data is created, which is deleted asyncronously during a
'graveyard' compaction.

我试过用谷歌搜索,但那只会出现更多提到墓地压实的地方,例如 this, this and this

墓地压实到底是什么?当人们提到墓碑时,他们指的是什么?

Graveyard 压缩是一种删除不再需要的 SSTable 的压缩。

例如在掉落期间,在创建快照后,相应table 的 sstable 会被墓地压缩删除。

A snapshot of the data is created, which is deleted asyncronously during a
'graveyard' compaction.

您在此处发现的只是文档中的一个错误。它应该说:

A snapshot of the data is created, 
then the data is deleted asyncronously during a 'graveyard' compaction.