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

feat: Implement some cluster commands #265

Merged
merged 5 commits into from
Sep 22, 2022

Conversation

waynexia
Copy link
Member

Which issue does this PR close?

Part of #245

Rationale for this change

The TableManager is changed in #260, some command implementations need to be re-implement.

What changes are included in this PR?

  • Remove TableManipulator.
    • It doesn't provide full functionalities. Only open and close are not enough
    • It's just another wrapper over TableEngine, which is unnecessary.
  • Draft Open, Close, Create and Drop commands. But they are going to be changed again in the later task of Combine VolatileCatalog and Cluster #245 (with new MetaClient and MetaEndpoint)

Are there any user-facing changes?

No for now

How does this change test

untested

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Copy link
Member

@ShiKaiWi ShiKaiWi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@waynexia waynexia merged commit 089998e into apache:main Sep 22, 2022
@waynexia waynexia deleted the impl-cluster-func branch September 22, 2022 02:54
chunshao90 pushed a commit to chunshao90/ceresdb that referenced this pull request May 15, 2023
* refactor: remove TableManipulator

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* remove stale file

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* impl more commands

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* fix clippy warning

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* address comments

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants