Repository navigation
Add compression to configmap storage driver - #1420
Merged
Merged
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
| // For backwards compatibility with releases that were stored before | ||
| // compression was introduced we skip decompression if the | ||
| // gzip magic header is not found | ||
| if bytes.Equal(b[0:3], magicGzip) { |
This commit changes the configmap storage driver to compress the serialized release before storing it as a base64 encoded string. This change is backward compatible as it handles existing releases gracefully by skipping the decompression step when the gzip magic header is not present.
databus23
force-pushed
the
compression
branch
from
October 20, 2016 18:08
ee9de6b to
eb4b78b
Compare
|
CLAs look good, thanks! |
Member
|
As soon as the LF CLA gets signed, let me know and I'll merge. Thanks! |
Contributor
Author
|
I signed it! |
Member
|
Merged! Thanks. Are you interested in us keeping you in the loop if any issues arise from this? |
Contributor
Author
|
@technosophos Thanks for merging and yeah, let me know if something breaks because of this. |
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.
This is a PR to address #1413.
This PR changes the configmap storage driver to compress
the serialized release before storing it as a base64 encoded string.
This change is backward compatible as it handles existing releases
gracefully by skipping the decompression step when the gzip magic
header is not present.
This change is