You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Hitless Upgrades] Zero-server-side configuration with client-side opt-in (redis#3380)
* Support for Client-side opt-in
A client can tell the server if it wants to receive maintenance push notifications via the following command:
CLIENT MAINT_NOTIFICATIONS <ON | OFF> [parameter value parameter value ...]
* update maintenance events to latest format
- MIGRATING <seq_number> <time> <shard_id-s>: A shard migration is going to start within <time> seconds.
- MIGRATED <seq_number> <shard_id-s>: A shard migration ended.
- FAILING_OVER <seq_number> <time> <shard_id-s>: A shard failover of a healthy shard started.
- FAILED_OVER <seq_number> <shard_id-s>: A shard failover of a healthy shard ended.
- MOVING <seq_number> <time> <endpoint>: A specific endpoint is going to move to another node within <time> seconds
* clean up
* Update FAILED_OVER & MIGRATED to include additional time field
* update is private reserver check & add unit tests
update is private reserver check
* add unit tests for handshake with enabled maintenance events
* add missing copyrights/docs
* format
* address review comments
* Revert address after rebind operation expires
* Update event's validation spec
- MIGRATING <seq_number> <time> <shard_id-s>: A shard migration is going to start within <time> seconds.
- MIGRATED <seq_number> <shard_id-s>: A shard migration ended.
- FAILING_OVER <seq_number> <time> <shard_id-s>: A shard failover of a healthy shard started.
- FAILED_OVER <seq_number> <shard_id-s>: A shard failover of a healthy shard ended.
- MOVING <seq_number> <time> <endpoint>: A specific endpoint is going to move to another node within <time> seconds
* rebase
* format after rebase
* Apply suggestions from code review
Co-authored-by: Tihomir Krasimirov Mateev <tihomir.mateev@redis.com>
* javadoc updated
* Update src/main/java/io/lettuce/core/internal/NetUtils.java
Co-authored-by: Tihomir Krasimirov Mateev <tihomir.mateev@redis.com>
---------
Co-authored-by: Tihomir Krasimirov Mateev <tihomir.mateev@redis.com>
0 commit comments