Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gdzw opened this issue Jun 6, 2023 · 1 comment

Comments

@gdzw
Copy link

gdzw commented Jun 6, 2023

同步方向: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均为默认值。

@ghost
Copy link

ghost commented Jun 7, 2023

目前不支持这种变更。
按目前代码行为,会按新的复制范围进行增量复制,不会进行表创建和全量复制。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant