Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cdc没有任务的时候,tikv会生成变更日志吗?如果有会发送到cdc组件吗?

Which physical file corresponds to the change logs?
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cdc没有任务的时候,tikv会生成变更日志吗?如果有会发送到cdc组件吗?
Which physical file corresponds to the change logs?
Even if there are no tasks in CDC, the TiKV changelog will still be generated.
Whether it reaches CDC depends on whether CDC is subscribed or not. Without tasks, there should be no subscription.
The changelog in TiKV corresponds to the physical file, which is the WAL (Write-Ahead Logging) file. I’m not exactly sure which one it is .
Got it, that should be TiKV’s rocksdb.wal-dir
.
The TiCDC node also has a redo configuration storage
, which should correspond to it.
The default value for the RocksDB WAL directory is empty, and I couldn’t find the WAL subdirectory. I’m not sure where it is stored by default.
The redo logs in TiCDC are generated by CDC for transaction consistency. This is unrelated to TiKV.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.