-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[CAE-1072] Handle server maintenance notifications #3447
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
Merged
ndyakov
merged 51 commits into
ndyakov/CAE-1088-resp3-notification-handlers
from
ndyakov/CAE-1072-hitless-upgrades-2
Sep 3, 2025
Merged
[CAE-1072] Handle server maintenance notifications #3447
ndyakov
merged 51 commits into
ndyakov/CAE-1088-resp3-notification-handlers
from
ndyakov/CAE-1072-hitless-upgrades-2
Sep 3, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49e5814
to
43aef14
Compare
8608f93
to
a39a23a
Compare
e88e673
to
4542e8f
Compare
9590c26
to
100c3d2
Compare
d03b7fa
to
22e1d74
Compare
d7e7d44
to
e6d4b46
Compare
htemelski-redis
approved these changes
Sep 3, 2025
cb3af08
into
ndyakov/CAE-1088-resp3-notification-handlers
31 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hitless Upgrades
Seamless Redis connection handoffs during cluster changes without dropping connections.
Quick Start
Modes
MaintNotificationsDisabled
- Hitless upgrades disabledMaintNotificationsEnabled
- Forcefully enabled (fails if server doesn't support)MaintNotificationsAuto
- Auto-detect server support (default)Configuration
Endpoint Types
EndpointTypeAuto
- Auto-detect based on connection (default)EndpointTypeInternalIP
- Internal IP addressEndpointTypeInternalFQDN
- Internal FQDNEndpointTypeExternalIP
- External IP addressEndpointTypeExternalFQDN
- External FQDNEndpointTypeNone
- No endpoint (reconnect with current config)Auto-Scaling
Workers:
min(PoolSize/2, max(10, PoolSize/3))
when auto-calculatedQueue:
max(20×Workers, PoolSize)
capped byMaxActiveConns+1
or5×PoolSize
Examples:
How It Works
Supported Notifications
MOVING
- Slot moving to new nodeMIGRATING
- Slot in migration stateMIGRATED
- Migration completedFAILING_OVER
- Node failing overFAILED_OVER
- Failover completedHooks (Optional)
Monitor and customize hitless operations:
Metrics Hook Example