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

out_file: Temporal fix for broken gzipped files with gzip and append. ref #1903 #1995

Merged
merged 1 commit into from
May 22, 2018

Conversation

repeatedly
Copy link
Member

Direct append causes broken gzipped file when Zlib::DataError happens.
This patch uses Tempfile for gzip compression to avoid broken compression.

Signed-off-by: Masahiro Nakagawa repeatedly@gmail.com

… ref #1903

Direct append causes broken gzipped file when Zlib::DataError happens.
This patch uses Tempfile for gzip compression to avoid broken compression.

Signed-off-by: Masahiro Nakagawa <repeatedly@gmail.com>
@repeatedly
Copy link
Member Author

@nurse How about this code?
Of course, we need to investigate zlib issue further.

@repeatedly repeatedly merged commit a93e3e7 into master May 22, 2018
@ganmacs ganmacs deleted the out_file-avoid-broken-file-with-gzip-append branch July 11, 2019 08:01
repeatedly added a commit that referenced this pull request Feb 25, 2020
Recent fluentd doesn't have thread interruption issue.

Signed-off-by: Masahiro Nakagawa <repeatedly@gmail.com>
repeatedly added a commit that referenced this pull request Feb 26, 2020
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