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 sentinel support #1472

Merged
merged 2 commits into from
Oct 4, 2024
Merged

Add redis sentinel support #1472

merged 2 commits into from
Oct 4, 2024

Conversation

jaymell
Copy link
Contributor

@jaymell jaymell commented Oct 2, 2024

This adds support for using Redis Sentinel for queuing and caching.
Sentinel potentially requires a lot of additional configuration params,
so support for that that has been added here, although the redis_dsn
field has been reused and should point to a sentinel server if using the
redissentinel queue/cache types.

@jaymell jaymell force-pushed the redis-sentinel branch 6 times, most recently from 35c1082 to b9e611d Compare October 3, 2024 21:29
@jaymell jaymell changed the title sentinel Add redis sentinel support Oct 3, 2024
server/svix-server/Cargo.toml Outdated Show resolved Hide resolved
@jaymell jaymell marked this pull request as ready for review October 3, 2024 22:10
@jaymell jaymell requested a review from a team as a code owner October 3, 2024 22:10
This adds support for using Redis Sentinel for queuing and caching.
Sentinel potentially requires a lot of additional configuration params,
so support for that that has been added here, although the `redis_dsn`
field has been reused and should point to a sentinel server if using the
`redissentinel` queue/cache types.
This test is flaky around the fifth run for some reason. My
guess is because another cleanup process is interfering, which
seems strange but not impossible. Anyway, moving the content-existence
check to _before_ changing its expiration seems to fix the issue.
@svix-james svix-james merged commit ec61c65 into svix:main Oct 4, 2024
7 checks passed
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