Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: key-value (KV) change log是raft log吗
【TiDB Usage Environment】Production\Test Environment\POC
Test
【TiDB Version】
6.1
【Encountered Problem】
The CDC official documentation is as follows
I would like to ask, where is the key-value (KV) change log obtained from? Is it obtained from the raft log?
If so, if the GC time is 24 hours, does that mean the raft log also needs to be retained for 24 hours?
Thank you
【Reproduction Path】What operations were performed to encounter the problem
【Problem Phenomenon and Impact】
【Attachments】
- Relevant logs, configuration files, Grafana monitoring (https://metricstool.pingcap.com/)
- TiUP Cluster Display information
- TiUP Cluster Edit config information
- TiDB-Overview monitoring
- Corresponding module Grafana monitoring (such as BR, TiDB-binlog, TiCDC, etc.)
- Corresponding module logs (including logs one hour before and after the problem)
If the question is related to performance optimization or troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results for upload.