Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: sync_diff_inspector在DM 6.5下不能识别dm_task

In DM 6.5, to support physical import, the value of import-mode has been changed from ['sql', 'loader']
to logical
and physical
. However, sync_diff_inspector has not been adapted, causing an error when retrieving task configuration from DM. The error message is: Message: invalid load mode 'logical', Workaround: Please choose a valid value in ['sql', 'loader']
.
PS: Below is the new parameter description
# The mode for data import during the full stage. It can be set to the following modes:
# - "logical" (default). Uses TiDB Lightning logical import for importing. Documentation: https://docs.pingcap.com/zh/tidb/stable/tidb-lightning-logical-import-mode
# - "physical". Uses TiDB Lightning physical import for importing. Documentation: https://docs.pingcap.com/zh/tidb/stable/tidb-lightning-physical-import-mode
# Currently, "physical" is an experimental feature and is not recommended for production environments.
import-mode: "logical"