Skip to content

调整job配置文件后(新增表同步),如何加载,同时之前的配置不受影响 #1061

@gdzw

Description

@gdzw

同步方向:mysql to mysql
MySQL版本:8.0.29
dtle版本:dtle-ce-4.23.04.0

job配置信息【修改前】:

"Config": {
            "Gtid": "",
            "ReplicateDoDb": [{
              "TableSchema": "test_file",
              "TableSchemaRename": "zw_test",
              "Tables": [{
                "TableName": "file_store"
              }]
            }]

job配置信息【修改后,即增加了file_store_config表】:

"Config": {
            "Gtid": "",
            "ReplicateDoDb": [{
              "TableSchema": "test_file",
              "TableSchemaRename": "zw_test",
              "Tables": [{
                "TableName": "file_store"
              },{
                "TableName": "file_store_config"
              }]
            }],

问题1:调整之后该如何通过命令的方式加载生效?
问题2:我通过图形化界面加载配置生效后,file_store_config表未在目标表创建,SkipCreateDbTable和DropTableIfExists均为默认值。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions