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: use a better config setting and support config reload #128

Merged
merged 2 commits into from
Jan 7, 2024

Conversation

zyy17
Copy link
Collaborator

@zyy17 zyy17 commented Jan 7, 2024

What't changes

  1. Remove all the unused fields in the config struct of greptimedb and keep the necessary fields that bind with greptimedb configuration with tomlmapping tag;

  2. Support to inject any greptimedb config without modifying the code;

  3. Support to reload pods when the related configmaps change by using Reloader;

zyy17 added 2 commits January 6, 2024 23:26
…ds and remove unstable config structs

Signed-off-by: zyy17 <[email protected]>
@zyy17 zyy17 requested a review from daviderli614 January 7, 2024 04:06
Copy link
Member

@daviderli614 daviderli614 left a comment

Choose a reason for hiding this comment

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

LGTM

@daviderli614 daviderli614 merged commit 6fe16b9 into GreptimeTeam:develop Jan 7, 2024
4 checks passed
@zyy17 zyy17 deleted the refactor/config branch July 24, 2024 08:43
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