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

[Feature][Manager] Support resource migrate to different tenant #8403

Closed
2 tasks done
Tracked by #7914
vernedeng opened this issue Jul 3, 2023 · 0 comments · Fixed by #8913
Closed
2 tasks done
Tracked by #7914

[Feature][Manager] Support resource migrate to different tenant #8403

vernedeng opened this issue Jul 3, 2023 · 0 comments · Fixed by #8913

Comments

@vernedeng
Copy link
Contributor

vernedeng commented Jul 3, 2023

Description

We need a set of interfaces to support resource migrate from/to different tenant.

There are three major resources will be migrated from one tenant to another, Inlong Group, Inlong Consume and DataNode.

All migration should be start with a specific Inlong Group , then migrate the group-related Inlong Consume and DataNode.

The migration is followed by these steps:

  1. Check if the target tenant exists
  2. List all Inlong Stream of this group
  3. List all InlongConsume of this group
  4. List all DataNode of related StreamSink
  5. List all DataNode of related StreamSource
  6. Copy DataNode if the the target tenant doesn't have it
  7. Change the datanode name of each sink to the new one
  8. Copy TenantClusterTag if the the target tenant doesn't have it

Please make sure steps 2-7 will be done in one transaction.

InLong Component

InLong Manager

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@vernedeng vernedeng self-assigned this Jul 3, 2023
@vernedeng vernedeng added this to the 1.8.0 milestone Jul 3, 2023
@vernedeng vernedeng changed the title Support resouce migrate from/to different tenant. [Feature][Manager] Support resouce migrate from/to different tenant Jul 3, 2023
@vernedeng vernedeng mentioned this issue Jul 6, 2023
7 tasks
@dockerzhang dockerzhang modified the milestones: 1.8.0, 1.9.0 Jul 7, 2023
@vernedeng vernedeng changed the title [Feature][Manager] Support resouce migrate from/to different tenant [Feature][Manager] Support resouce migrate to different tenant Sep 14, 2023
@vernedeng vernedeng changed the title [Feature][Manager] Support resouce migrate to different tenant [Feature][Manager] Support resource migrate to different tenant Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants