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: make grpc service able to be added dynamically #3160

Conversation

MichaelScofield
Copy link
Collaborator

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

Sometimes in other projects, we need to add another grpc service to tonic server. This PR refactor the grpc codes to enable that.

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-not-required This change does not impact docs. Size: L and removed docs-not-required This change does not impact docs. labels Jan 12, 2024
@MichaelScofield MichaelScofield added the docs-not-required This change does not impact docs. label Jan 12, 2024
Copy link

codecov bot commented Jan 12, 2024

Codecov Report

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

Comparison is base (75975ad) 85.43% compared to head (a85786b) 84.89%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3160      +/-   ##
==========================================
- Coverage   85.43%   84.89%   -0.55%     
==========================================
  Files         823      824       +1     
  Lines      134979   134945      -34     
==========================================
- Hits       115320   114556     -764     
- Misses      19659    20389     +730     

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

Copy link
Contributor

@fengys1996 fengys1996 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 Jan 15, 2024
Merged via the queue into GreptimeTeam:main with commit 93f28c2 Jan 15, 2024
22 of 23 checks passed
@MichaelScofield MichaelScofield deleted the refactor/dynamically-add-grpc branch January 15, 2024 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants