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

just log a warning when a store type other than boltdb-shipper is detected when custom retention is enabled #3785

Conversation

sandeepsukhani
Copy link
Contributor

What this PR does / why we need it:
We fail the compactor's startup when we detect a store type other boltdb-shipper and the custom retention is enabled. This PR changes it to log a warning at startup because this would otherwise make users wait till their existing logs index in other store types go out of retention.

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@pull-request-size pull-request-size bot added size/S and removed size/XS labels Jun 1, 2021
Co-authored-by: Ed Welch <ed@oqqer.com>
@sandeepsukhani sandeepsukhani merged commit c90366d into grafana:main Jun 1, 2021
sandeepsukhani added a commit that referenced this pull request Jun 2, 2021
…ected when custom retention is enabled (#3785)

* just log a warning when a store type other than boltdb-shipper is detected when custom retention is enabled

* gofmt

* Update msg

Co-authored-by: Ed Welch <ed@oqqer.com>

Co-authored-by: Ed Welch <ed@oqqer.com>
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.

None yet

3 participants