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

Fix pause of rollout on error condition #2161

Conversation

strailov
Copy link
Contributor

This fixes the following case :
During rollout processing (which is ran in a transaction per rollout) all rollout groups are being processed one by one
if a group matches error condition - group status goes to error and rollout is being paused.
But
If previous group have matched error condition and paused the rollout
and the current one matches also the error condition and tries to pause the rollout too - this will throw an exception because rollout is already in paused state and will rollback the rollout processing transaction which will lead us on initial state.

@hawkbit-bot
Copy link

Can one of the admins verify this patch?

@strailov strailov merged commit 0e43070 into eclipse-hawkbit:master Dec 27, 2024
5 of 6 checks passed
@strailov strailov deleted the feature/fix_pause_of_rollout_on_error_condition branch December 27, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants