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: Rename MetaClientOpts to MetaClientOptions #1075

Merged
merged 4 commits into from
Feb 24, 2023

Conversation

evenyag
Copy link
Contributor

@evenyag evenyag commented Feb 24, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This PR

BREAKING CHANGE: This PR renames meta_client_opts section in the toml file to meta_client_options

[meta_client_options]
metasrv_addrs = ['127.0.0.1:3002']
timeout_millis = 3000
connect_timeout_millis = 5000

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)

@evenyag evenyag changed the title fix: options to toml chore!: Rename MetaClientOpts to MetaClientOptions Feb 24, 2023
@evenyag evenyag changed the title chore!: Rename MetaClientOpts to MetaClientOptions chore: Rename MetaClientOpts to MetaClientOptions Feb 24, 2023
@evenyag evenyag added breaking-change This pull request contains breaking changes. docs-required This change requires docs update. labels Feb 24, 2023
@evenyag evenyag marked this pull request as ready for review February 24, 2023 06:12
@codecov
Copy link

codecov bot commented Feb 24, 2023

Codecov Report

Merging #1075 (a7e92f6) into develop (710e2ed) will decrease coverage by 0.11%.
The diff coverage is 81.57%.

@@             Coverage Diff             @@
##           develop    #1075      +/-   ##
===========================================
- Coverage    85.75%   85.64%   -0.11%     
===========================================
  Files          451      451              
  Lines        65980    65998      +18     
===========================================
- Hits         56583    56527      -56     
- Misses        9397     9471      +74     
Flag Coverage Δ
rust 85.64% <81.57%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/cmd/src/frontend.rs 77.04% <0.00%> (ø)
src/datanode/src/instance.rs 43.77% <0.00%> (-14.34%) ⬇️
src/frontend/src/instance.rs 79.36% <0.00%> (ø)
src/meta-client/src/lib.rs 100.00% <ø> (ø)
src/cmd/src/standalone.rs 58.47% <90.90%> (+1.08%) ⬆️
src/cmd/src/datanode.rs 78.12% <100.00%> (ø)
src/datanode/src/datanode.rs 70.58% <100.00%> (+2.23%) ⬆️
src/frontend/src/frontend.rs 51.21% <100.00%> (+8.36%) ⬆️
src/object-store/src/test_util.rs 0.00% <0.00%> (-100.00%) ⬇️
... and 9 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@waynexia waynexia changed the title chore: Rename MetaClientOpts to MetaClientOptions chore!: Rename MetaClientOpts to MetaClientOptions Feb 24, 2023
@waynexia
Copy link
Member

😥

@waynexia waynexia changed the title chore!: Rename MetaClientOpts to MetaClientOptions chore: Rename MetaClientOpts to MetaClientOptions Feb 24, 2023
@waynexia waynexia merged commit f6e8717 into GreptimeTeam:develop Feb 24, 2023
@waynexia waynexia mentioned this pull request Feb 24, 2023
2 tasks
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* fix: Serialize FrontendOptions to toml

* fix: Serialize DatanodeOptions to toml

* fix: Serialize StandaloneOptions to toml

See https://users.rust-lang.org/t/why-toml-to-string-get-error-valueaftertable/85903/2

* chore!: Rename MetaClientOpts to MetaClientOptions

BREAKING CHANGE: Change the meta_client_opts in the config file to
meta_client_options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change This pull request contains breaking changes. docs-required This change requires docs update.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants