Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 把MySQL的relaylog存放至本地,是否开启enable-relay这个参数?

My TiDB version is 7.5.1, and I read in the manual:
In versions 5.4.0 and later, you can enable the relay log by setting
enable-relay
totrue
. Starting from version 5.4.0, when the DM-worker binds to the upstream data source, it will check theenable-relay
item in the upstream data source configuration. Ifenable-relay
istrue
, the relay log function will be enabled for that data source.
But I didn’t configure it in the yaml file, and directly executed the command
start-relay -s mysql-replica-01
It also worked normally.
Is the official documentation incorrect?