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

Add redis eviction-policy check/warning #80

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

jaymell
Copy link
Contributor

@jaymell jaymell commented Apr 25, 2024

We want to warn users if queues are at potential risk of deletion in low-memory situations. Add a startup check that will log a warning if the eviction policy can't be determined or if an unsafe eviction policy is found.

Note: The warn is likely to fire all the time on cloud providers, which tend to disable the CONFIG command entirely.

@jaymell jaymell marked this pull request as ready for review April 25, 2024 16:41
@jaymell jaymell requested a review from a team as a code owner April 25, 2024 16:41
@jaymell jaymell force-pushed the check-eviction-policy branch 2 times, most recently from c171eed to 32322e4 Compare April 25, 2024 17:42
We want to warn users if queues are at potential risk of deletion
in low-memory situations. Add a startup check that will log a
warning if the eviction policy can't be determined or if an unsafe
eviction policy is found.

Note: The `warn` is likely to fire all the time on cloud providers,
which tend to disable the `CONFIG` command entirely.
@svix-james svix-james merged commit 12f0e4b into svix:main Apr 25, 2024
4 checks passed
@jaymell jaymell deleted the check-eviction-policy branch April 25, 2024 21:31
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.

3 participants