The synchronization task of DM cannot be stopped, error code=38041:class=dm-master:scope=internal:level=medium

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

Original topic: DM的同步任务无法stop,报错code=38041:class=dm-master:scope=internal:level=medium

| username: Zhang_Zhi

[TiDB Usage Environment] Testing/
[TiDB Version]
TiDB version: 7.1.5
DM version: 5.3.0
[Encountered Problem: Phenomenon and Impact]

Newly created synchronization tasks run without issues. Querying, pausing, and resuming are all normal. However, when trying to update the synchronization configuration, the stop-task command fails.

Query synchronization task status


Pausing and resuming are normal

Error when stopping synchronization task

This error code=38041 is not found on the official website.

| username: tidb狂热爱好者 | Original post link

Keep the DM versions consistent.

| username: Zhang_Zhi | Original post link

I have already upgraded DM to version 7.1.5, no problem now, thanks a lot.