This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
The comments are in Chinese, there is a problem with log parsing #1472
Labels
type/feature-request
This issue is a feature request
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do? If possible, provide a recipe for reproducing the error.


The comments are in Chinese, and the following content can be seen from the log of dm-master
What did you expect to see?
The configuration file does not display comment information in the log
What did you see instead?
Chinese comments in dm-master log are not parsed
[INFO] [server.go:1990] [payload="task:\"---\\nname: t1\\ntask-mode: all # all \\345\\215\\263\\345\\205\\210\\350\\277\\233\\350\\241\\214\\345\\205\\250\\351\\207\\217\\345\\220\\214\\346\\255\\245\\357\\274\\214\\345\\205\\250\\351\\207\\217\\345\\220\\214\\346\\255\\245\\345\\256\\214\\346\\210\\220\\345\\220\\216\\350\\207\\252\\345\\212\\250\\350\\277\\233\\350\\241\\214\\345\\242\\236\\351\\207\\217\\346\\225\\260\\346\\215\\256\\345\\220\\214\\346\\255\\245\\ncase-sensitive: true\\ntarget-database:\\n host: \\\"172.16.5.215\\\"\\n port: 4200\\n user: \\\"root\\\"\\n password: \\\"\\\"\\n\\nmysql-instances: \\n -\\n source-id: \\\"mysql-replica-01\\\"\\n block-allow-list: \\\"instance\\\"\\n mydumper-thread: 4\\n loader-thread: 16\\n syncer-thread: 16\\n\\n\\nblock-allow-list:\\n instance:\\n do-dbs: [\\\"lianxi\\\"]\\n\\n\" "] [request=CheckTask]
Versions of the cluster
[tidb@node127 dm]$ tiup dm display dm1
DM version (run
dmctl -V
ordm-worker -V
ordm-master -V
):Upstream MySQL/MariaDB server version:
Downstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):How did you deploy DM: DM-Ansible or manually?
Other interesting information (system version, hardware config, etc):
current status of DM cluster (execute
query-status
in dmctl)Operation logs
dm-worker.log
for every DM-worker instance if possibledm-master.log
if possibleConfiguration of the cluster and the task
dm-worker.toml
for every DM-worker instance if possibledm-master.toml
for DM-master if possibletask.yaml
if possibleinventory.ini
if deployed by DM-AnsibleScreenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus for DM if possible
The text was updated successfully, but these errors were encountered: