Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: tikv的几个问题
|
username: h5n1
In the following code in compact.rs, the calculation of the number of tombstones is obtained from RocksDB’s num_entries/num_versions values, and the difference is used as the number of tombstones. What do num_entries/num_versions represent here? Does tombstones refer to the number of deletes in TiKV or the number of tombstones marked in RocksDB?