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

Add a way to check the sources #832

Closed
july2993 opened this issue Jul 27, 2020 · 2 comments · Fixed by #838
Closed

Add a way to check the sources #832

july2993 opened this issue Jul 27, 2020 · 2 comments · Fixed by #838
Labels
help wanted This issue wanted some help from contributor

Comments

@july2993
Copy link
Contributor

Feature Request

Is your feature request related to a problem? Please describe:

After adding some sources. ref https://pingcap.com/docs-cn/tidb-data-migration/dev/manage-source/#%E5%8A%A0%E8%BD%BD%E6%95%B0%E6%8D%AE%E6%BA%90%E9%85%8D%E7%BD%AE

root@control:/tiup-cluster# dmctl --master-addr n1:8261 operate-source create ./_dev/dm/source1.toml
{
    "result": true,
    "msg": "",
    "sources": [
        {
            "result": true,
            "msg": "",
            "source": "mysql1",
            "worker": "dm-172.19.0.104-8262"
        }
    ]
}

there's no way to check the sources?
how can I know what sources I have later? And check some issues like if some sources have no worker?

Describe the feature you'd like:

Add a way to check the sources

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

@july2993 july2993 added the help wanted This issue wanted some help from contributor label Jul 27, 2020
@lance6716
Copy link
Collaborator

lance6716 commented Jul 28, 2020

going to add show-source (or operate-source show, which is better?), to list added sources and its bounding worker.

BTW, similar to #398, we should re-orgnazation commands someday 😂, for example, support CRUD as second argument for source/task/...

@csuzhangxc PTAL at your convenience

@csuzhangxc
Copy link
Member

@lance6716 I think operate-source show is better.

BTW, similar to #398, we should re-orgnazation commands someday 😂, for example, support CRUD as second argument for source/task/...

You are right! 😂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted This issue wanted some help from contributor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants