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

cfg: fix losing stats parameter on update #287

Merged

Conversation

DifferentialOrange
Copy link
Member

Before this patch, stats_quantile_tolerated_error configuration
parameter value could be lost in the following sequence of separate
crud.cfg calls:

  1. Set up stats_quantile_tolerated_error (maybe together with other
    parameters).
  2. Set up any other cfg parameter, do not set
    stats_quantile_tolerated_error in call explicitly.

It was expected that stats_quantile_tolerated_error from the first step
will be preserved after the second one, but it was lost. This patch
fixes the behavior.

I didn't forget about

  • Tests
  • Changelog
  • Documentation

Follows up PR #281, closes #284

Before this patch, stats_quantile_tolerated_error configuration
parameter value could be lost in the following sequence of separate
crud.cfg calls:
1. Set up stats_quantile_tolerated_error (maybe together with other
   parameters).
2. Set up any other cfg parameter, do not set
   stats_quantile_tolerated_error in call explicitly.

It was expected that stats_quantile_tolerated_error from the first step
will be preserved after the second one, but it was lost. This patch
fixes the behavior.

Follows up PR #281, closes #284
@DifferentialOrange DifferentialOrange merged commit 52b2b4a into master May 18, 2022
@DifferentialOrange DifferentialOrange deleted the DifferentialOrange/gh-284-tolerated-error-lost branch May 18, 2022 08:27
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.

After enabling crud stats stats_quantile_tolerated_error became unavailable in crud.cfg
2 participants