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(backpressure): only check mem level of redis leader nodes #82959

Merged
merged 5 commits into from
Jan 7, 2025

Conversation

bmckerry
Copy link
Member

@bmckerry bmckerry commented Jan 6, 2025

We only want backpressure to trigger if a redis leader node's memory is above the configured watermark. This PR makes it so follower nodes don't have their memory level evaluated by the monitor.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 6, 2025
Copy link
Contributor

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

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #82959       +/-   ##
===========================================
+ Coverage   45.27%   87.57%   +42.30%     
===========================================
  Files        9407     9417       +10     
  Lines      535957   536475      +518     
  Branches    21119    21077       -42     
===========================================
+ Hits       242632   469797   +227165     
+ Misses     292965    66313   -226652     
- Partials      360      365        +5     

@bmckerry bmckerry merged commit dc78fe8 into master Jan 7, 2025
49 checks passed
@bmckerry bmckerry deleted the IA-13/remove-read-replicas-bp branch January 7, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants