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

feat: gracefully shutdown drainer if redis goes down #2391

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

dracarys18
Copy link
Member

Type of Change

  • Enhancement

Description

Gracefully shutdown drainer if redis goes down.

Motivation and Context

If redis goes down drainer won't be able to automatically reconnect to redis after it exhausts max reconnection attempts. So gracefully shutdown drainer and let it reconnect while restart

How did you test it?

Screenshot 2023-09-29 at 2 01 46 AM

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code

@dracarys18 dracarys18 added A-core Area: Core flows S-waiting-on-review Status: This PR has been implemented and needs to be reviewed labels Sep 28, 2023
@dracarys18 dracarys18 self-assigned this Sep 28, 2023
@dracarys18 dracarys18 requested a review from a team as a code owner September 28, 2023 20:32
@dracarys18 dracarys18 added A-framework Area: Framework and removed A-core Area: Core flows labels Sep 28, 2023
@jarnura jarnura added this pull request to the merge queue Oct 9, 2023
Merged via the queue into main with commit 2870af1 Oct 9, 2023
9 of 10 checks passed
@jarnura jarnura deleted the drainer_down_if_redis_down branch October 9, 2023 15:22
@SanchithHegde SanchithHegde removed the S-waiting-on-review Status: This PR has been implemented and needs to be reviewed label Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-framework Area: Framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants