Repository navigation
Fix update issue on where service doesn't roll back on failure - #3003
Merged
Merged
Conversation
Contributor
Author
|
This test succeeds for me when ran locally. Could someone (@dperny @thaJeztah) kick off a replay for me? |
awmirantis
marked this pull request as ready for review
May 17, 2021 19:25
Member
|
I restarted CI; in the meantime we also updated some vendoring, so perhaps good to rebase this PR. Do you think it's possible to write a test for this, or complicated? |
Codecov Report
@@ Coverage Diff @@
## master #3003 +/- ##
==========================================
- Coverage 60.82% 60.79% -0.04%
==========================================
Files 142 142
Lines 20295 20297 +2
==========================================
- Hits 12345 12340 -5
+ Misses 6494 6493 -1
- Partials 1456 1464 +8 |
Signed-off-by: Adam Williams <[email protected]>
awmirantis
force-pushed
the
fix-failure-to-rollback
branch
from
June 9, 2021 15:45
3f633b2 to
fc1338c
Compare
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
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.
Signed-off-by: Adam Williams [email protected]
- What I did
When the updateConfig delay parameter is larger than the monitor parameter an error in updating can be missed and rollback not performed. This fix will check for the case where monitor < delay and use the larger of the two.
Fixes 37972
- How I did it
- How to test it
Manual testing that failed update will rollback.
- Description for the changelog