Repository navigation
fix(tiller): improve handling of corrupted storage - #7319
Merged
bacongobbler merged 1 commit intoJan 8, 2020
Merged
Conversation
Member
|
Can you re-target this against the dev-v2 branch? Thanks |
For some reason, many users experince corrupted storage with the ConfigMaps storage backend. Specifically, several Releases are marked as DEPLOYED. This patch improved handling of such situations, by taking the latest DEPLOYED Release. Eventually, the storage will clean itself out, after the corrupted Releases are deleted due to --history-max. Closes helm#6031 Signed-off-by: Cristian Klein <[email protected]>
cristiklein
force-pushed
the
fix/deal-with-corrupted-storage
branch
from
January 2, 2020 10:10
03853ae to
840e0e2
Compare
Author
|
@bacongobbler Thanks for the tip. Please check now. Also, please let me know if I should port this to Helm 3 too. |
thomastaylor312
approved these changes
Jan 8, 2020
thomastaylor312
left a comment
Contributor
There was a problem hiding this comment.
Still not sure why the "multiple deployed" issue occurs, but this is a good protection regardless. Thanks for the change!
Contributor
|
@bacongobbler were you planning on reviewing this too? |
bacongobbler
approved these changes
Jan 8, 2020
bacongobbler
left a comment
Member
There was a problem hiding this comment.
LGTM. Might be worth porting over to Helm 3 if you have time. Thanks!
cristiklein
pushed a commit
to cristiklein/helm
that referenced
this pull request
Jan 8, 2020
Helm does not yet properly handle concurrent executions (see helm#7322), and invoking Helm concurrently on the same release lead to corrupted storage. Specifically, several Releases may be marked as DEPLOYED. This patch improved handling of such situations, by taking the latest DEPLOYED Release. Eventually, the storage will clean itself out, after the corrupted Releases are deleted due to --history-max. This is a port to Helm v3 of helm#7319. Signed-off-by: Cristian Klein <[email protected]>
cristiklein
pushed a commit
to cristiklein/helm
that referenced
this pull request
Jan 16, 2020
Helm does not yet properly handle concurrent executions (see helm#7322), and invoking Helm concurrently on the same release lead to corrupted storage. Specifically, several Releases may be marked as DEPLOYED. This patch improved handling of such situations, by taking the latest DEPLOYED Release. Eventually, the storage will clean itself out, after the corrupted Releases are deleted due to --history-max. This is a port to Helm v3 of helm#7319. Signed-off-by: Cristian Klein <[email protected]>
mattfarina
pushed a commit
that referenced
this pull request
Jan 28, 2020
Helm does not yet properly handle concurrent executions (see #7322), and invoking Helm concurrently on the same release lead to corrupted storage. Specifically, several Releases may be marked as DEPLOYED. This patch improved handling of such situations, by taking the latest DEPLOYED Release. Eventually, the storage will clean itself out, after the corrupted Releases are deleted due to --history-max. This is a port to Helm v3 of #7319. Signed-off-by: Cristian Klein <[email protected]> (cherry picked from commit 1f0582c)
bamachrn
pushed a commit
to bamachrn/helm
that referenced
this pull request
Feb 28, 2020
Helm does not yet properly handle concurrent executions (see helm#7322), and invoking Helm concurrently on the same release lead to corrupted storage. Specifically, several Releases may be marked as DEPLOYED. This patch improved handling of such situations, by taking the latest DEPLOYED Release. Eventually, the storage will clean itself out, after the corrupted Releases are deleted due to --history-max. This is a port to Helm v3 of helm#7319. Signed-off-by: Cristian Klein <[email protected]>
bamachrn
pushed a commit
to bamachrn/helm
that referenced
this pull request
Feb 28, 2020
Helm does not yet properly handle concurrent executions (see helm#7322), and invoking Helm concurrently on the same release lead to corrupted storage. Specifically, several Releases may be marked as DEPLOYED. This patch improved handling of such situations, by taking the latest DEPLOYED Release. Eventually, the storage will clean itself out, after the corrupted Releases are deleted due to --history-max. This is a port to Helm v3 of helm#7319. Signed-off-by: Cristian Klein <[email protected]>
bamachrn
pushed a commit
to bamachrn/helm
that referenced
this pull request
Feb 28, 2020
Helm does not yet properly handle concurrent executions (see helm#7322), and invoking Helm concurrently on the same release lead to corrupted storage. Specifically, several Releases may be marked as DEPLOYED. This patch improved handling of such situations, by taking the latest DEPLOYED Release. Eventually, the storage will clean itself out, after the corrupted Releases are deleted due to --history-max. This is a port to Helm v3 of helm#7319. Signed-off-by: Cristian Klein <[email protected]>
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.
For some reason, many users experince corrupted storage with the
ConfigMaps storage backend. Specifically, several Releases are marked as
DEPLOYED. This patch improved handling of such situations, by taking the latest
DEPLOYED Release. Eventually, the storage will clean itself out, after
the corrupted Releases are deleted due to --history-max.
Closes #6031
Signed-off-by: Cristian Klein [email protected]