Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

support mysql like start slave until #348

Open
azsane opened this issue Nov 7, 2019 · 0 comments
Open

support mysql like start slave until #348

azsane opened this issue Nov 7, 2019 · 0 comments
Labels
type/feature-request This issue is a feature request

Comments

@azsane
Copy link

azsane commented Nov 7, 2019

Feature Request

Is your feature request related to a problem? Please describe:
We have set up a replication between mysql and tidb using dm.
Some day,we found that a table was needed,but dm config didn't include it.

How do we enable this table in current version?
Through dmctl,we can update task config ,but TaskConfig is updated by units.
Mydumper unit's update method is empty.No new table data can be dumped
So we must import data manually.

And the problem is , we pause the task,import the new data,but we can't resume task
The position where we stopped and position we dumped the data may dismatch
There is no way to handle except another reimport

Describe the feature you'd like:
1.like mysql,add a command in dmctl to support stopping at binlog position/ gtid
then we can dump the data ,stop syncing at the exact position, importing data and finally resume task correctly.
2.if possible, support new table importing with update task command

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@azsane azsane added the type/feature-request This issue is a feature request label Nov 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature-request This issue is a feature request
Projects
None yet
Development

No branches or pull requests

1 participant