Which component's data-dir is referred to in the configuration file section of the Reparo user documentation?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: Reparo 使用文档中配置文件部分data-dir是指哪个组件的data-dir

| username: lemontree8801

[TiDB Usage Environment] Production Environment
[TiDB Version] V5.2.1
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact] I want to check what the large transaction was at a specific point in time in the production environment. When configuring Reparo, it keeps prompting [2023/12/18 11:32:53.518 +08:00] [ERROR] [main.go:67] [“reparo processing failed”] [error="new reader failed dir: /data/drainer-8249/data/: searchFiles failed: read binlog file name error: dir /data/drainer-8249/data/: binlogger: file not found.
Where is the binlog file stored? Which parameter configures it?
[Resource Configuration]
[Attachment: Screenshot/Log/Monitoring]

| username: hey-hoho | Original post link

Your drainer needs to output the binlog as a file, which refers to the directory where these files are stored.

Related parameters: TiDB Binlog 配置说明 | PingCAP 文档中心

| username: 像风一样的男子 | Original post link

You need to enable binlog.
First, you need to install the pump component.
Then, you need the drainer to output the binlog to a local file.
Reparo reads the local file output by the binlog.

| username: 小龙虾爱大龙虾 | Original post link

I feel that using reparo to check for large transactions is not a good method. It’s better to infer using BIG_TXN in the logs along with the SLOW LOG.

| username: lemontree8801 | Original post link

Yes, I found this transaction using this method as well, thank you~

| username: dba远航 | Original post link

There is an issue with the BILOG directory.

| username: heiwandou | Original post link

Enable pump, binlog drainer, and also have the relevant directories.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.