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

Removes split-by upstream validation #5087

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

cyriltovena
Copy link
Contributor

#5023 Removes the global split by configuration but we still have validation from upstream code configuration.

This PR removes the validation, while it is valid for a non multi tenant split-by in our case the validation is actually not working as we could override a tenant to a split-by zero and this means it would break his read path.

I understand this doesn't solve the problem (which we need to figure how to) but at least it really makes the global split-by unused.

Signed-off-by: Cyril Tovena cyril.tovena@gmail.com

Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
@cyriltovena cyriltovena requested a review from a team as a code owner January 10, 2022 14:58
Copy link
Contributor

@ssncferreira ssncferreira 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

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

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

I don't understand how this is removing validation? Is the title correct?

@cyriltovena
Copy link
Contributor Author

cyriltovena commented Jan 10, 2022

The configuration is embedded, defining the validate method will call our version not the embedded anymore.

@cyriltovena
Copy link
Contributor Author

Again just to make sure everyones understand this is a hotfix to avoid breaking change, not a real solution.

Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

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

Thanks for the explanation 👍

@cyriltovena cyriltovena merged commit d672739 into grafana:main Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants