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: extract plugins crate #2487

Merged
merged 28 commits into from
Oct 9, 2023

Conversation

shuiyisong
Copy link
Contributor

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This pr mainly extracts plugins crate, which provides functions for initializing and starting plugins for frontend/datanode/meta-srv.

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)

@shuiyisong shuiyisong marked this pull request as ready for review October 8, 2023 07:48
@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

Merging #2487 (0ce1377) into develop (0679178) will decrease coverage by 0.40%.
Report is 3 commits behind head on develop.
The diff coverage is 33.58%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2487      +/-   ##
===========================================
- Coverage    85.36%   84.96%   -0.40%     
===========================================
  Files          734      737       +3     
  Lines       117347   117390      +43     
===========================================
- Hits        100169    99743     -426     
- Misses       17178    17647     +469     

@shuiyisong shuiyisong requested a review from waynexia October 8, 2023 08:06
src/common/base/src/lib.rs Outdated Show resolved Hide resolved
src/datanode/src/datanode/builder.rs Outdated Show resolved Hide resolved
src/frontend/src/instance.rs Outdated Show resolved Hide resolved
src/plugins/Cargo.toml Outdated Show resolved Hide resolved
src/plugins/src/lib.rs Outdated Show resolved Hide resolved
src/plugins/src/lib.rs Outdated Show resolved Hide resolved
src/plugins/src/frontend.rs Show resolved Hide resolved
@shuiyisong
Copy link
Contributor Author

@killme2008 @MichaelScofield @paomian PTAL 😃

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

@shuiyisong shuiyisong added this pull request to the merge queue Oct 9, 2023
Merged via the queue into GreptimeTeam:develop with commit 007f7ba Oct 9, 2023
13 checks passed
@shuiyisong shuiyisong deleted the refactor/plugins branch October 9, 2023 05:06
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* chore: move frontend plugins fn

* chore: move datanode plugins to fn

* chore: add opt plugins

* chore: add plugins to meta-srv

* chore: setup meta plugins, wait for router extension

* chore: try use configurator for grpc too

* chore: minor fix fmt

* chore: minor fix fmt

* chore: add start meta_srv for hook

* chore: merge develop

* chore: minor fix

* chore: replace Arc<Plugins> with PluginsRef

* chore: fix header

* chore: remove empty file

* chore: modify comments

* chore: remove PluginsRef type alias

* chore: remove `OptPlugins`
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