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

chore: check catalog deregister result #1810

Merged

Conversation

v0y4g3r
Copy link
Contributor

@v0y4g3r v0y4g3r commented Jun 21, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This PR adds result check when invoking CatalogManager::deregister_table. We should remove the return value of this API in #1803 .

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@v0y4g3r v0y4g3r changed the title Fix/check catalog deregister result chore: check catalog deregister result Jun 21, 2023
@v0y4g3r v0y4g3r force-pushed the fix/check-catalog-deregister-result branch from 7b5bc27 to 5c7ad3a Compare June 21, 2023 07:34
@v0y4g3r v0y4g3r force-pushed the fix/check-catalog-deregister-result branch from 5c7ad3a to ee43a8d Compare June 21, 2023 07:34
@v0y4g3r v0y4g3r requested review from evenyag, waynexia, MichaelScofield and killme2008 and removed request for evenyag and waynexia June 21, 2023 07:35
@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Merging #1810 (92a2f04) into develop (23bf55a) will decrease coverage by 0.28%.
The diff coverage is 50.00%.

❗ Current head 92a2f04 differs from pull request most recent head 9c33f86. Consider uploading reports for the commit 9c33f86 to get more accurate results

@@             Coverage Diff             @@
##           develop    #1810      +/-   ##
===========================================
- Coverage    86.38%   86.10%   -0.28%     
===========================================
  Files          584      584              
  Lines        95415    95445      +30     
===========================================
- Hits         82425    82186     -239     
- Misses       12990    13259     +269     

Copy link
Contributor

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

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

LGTM

@v0y4g3r v0y4g3r force-pushed the fix/check-catalog-deregister-result branch from 92a2f04 to 9c33f86 Compare June 21, 2023 07:55
Copy link
Contributor

@evenyag evenyag left a comment

Choose a reason for hiding this comment

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

LGTM

@evenyag evenyag enabled auto-merge (squash) June 21, 2023 08:01
@evenyag evenyag merged commit d1b5ce0 into GreptimeTeam:develop Jun 21, 2023
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* chore: check deregister result and return error on failure

* refactor: SystemCatalog::deregister_table returns Result<()>
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.

4 participants