Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: dumpling的一致性读会影响GC吗?
For example, when dumpling exports a full database of 100G, it defaults to snapshot consistency read, assuming it takes a long time. At this time, dumpling maintains consistency based on MVCC, but by default, tidbserver performs GC every 10 minutes. Now, two situations may occur:
- During GC, the corresponding historical versions are not deleted first and are only removed after dumpling finishes. This will cause the space of tikv to increase and affect efficiency.
- GC is not affected, and dumpling will fail later, reporting an error similar to “snapshot too old.”
Could you please explain what the real situation is?