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

refactor: merge standalone and metasrv table metadata allocators #3035

Conversation

MichaelScofield
Copy link
Collaborator

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

The two are same except for the peer allocation method. Merge them to reduce code duplication.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR does not require documentation updates.

Refer to a related PR or issue link (optional)

@github-actions github-actions bot added docs-required This change requires docs update. Size: L labels Dec 28, 2023
Copy link

codecov bot commented Dec 29, 2023

Codecov Report

Attention: 30 lines in your changes are missing coverage. Please review.

Comparison is base (7152407) 85.50% compared to head (d93d47c) 84.95%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3035      +/-   ##
==========================================
- Coverage   85.50%   84.95%   -0.55%     
==========================================
  Files         793      794       +1     
  Lines      128447   128555     +108     
==========================================
- Hits       109825   109220     -605     
- Misses      18622    19335     +713     

@MichaelScofield MichaelScofield removed the docs-required This change requires docs update. label Dec 29, 2023
@github-actions github-actions bot added the docs-required This change requires docs update. label Dec 29, 2023
@MichaelScofield MichaelScofield added docs-not-required This change does not impact docs. and removed docs-required This change requires docs update. labels Dec 29, 2023
@github-actions github-actions bot added docs-required This change requires docs update. and removed docs-not-required This change does not impact docs. labels Dec 29, 2023
@niebayes niebayes mentioned this pull request Dec 29, 2023
14 tasks
@niebayes niebayes self-requested a review December 29, 2023 08:02
Copy link
Contributor

@niebayes niebayes left a comment

Choose a reason for hiding this comment

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

Almost LGTM except for a non-blocking suggestion.

src/common/meta/src/ddl/table_meta.rs Outdated Show resolved Hide resolved
src/common/meta/src/ddl/table_meta.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@fengjiachun fengjiachun left a comment

Choose a reason for hiding this comment

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

LGTM

@MichaelScofield MichaelScofield added this pull request to the merge queue Dec 29, 2023
Merged via the queue into GreptimeTeam:main with commit 7551432 Dec 29, 2023
15 checks passed
@MichaelScofield MichaelScofield deleted the refactor/merge-metadata-allocator branch December 29, 2023 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-required This change requires docs update.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants