Skip to content

Launch fast scaling/upgrading when having primary-replicas and purgeKeysOnRebalance is active#46

Merged
albertompe merged 1 commit intomainfrom
fix/detect-fast-operations
Feb 27, 2026
Merged

Launch fast scaling/upgrading when having primary-replicas and purgeKeysOnRebalance is active#46
albertompe merged 1 commit intomainfrom
fix/detect-fast-operations

Conversation

@albertompe
Copy link
Contributor

Scaling and upgrading operations are executed in slow way for primary-replicas Redkey clusters, even if the parameter purgeKeysOnRebalance is set to true. This leads to operations taking too long.

When purgeKeysOnRebalance is active, losing the keys isn't a concern; we prioritize speed in operations. Therefore, in these cases, operations should be launched in fast mode.

The check that determines whether to launch the scaling or upgrade in fast mode has been modified according to this premise.

@albertompe albertompe requested a review from a team as a code owner February 26, 2026 09:09
@albertompe albertompe merged commit 9ff13d2 into main Feb 27, 2026
10 checks passed
@albertompe albertompe deleted the fix/detect-fast-operations branch February 27, 2026 08:11
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.

2 participants