Skip to content

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

Merged
repeatedly merged 1 commit into
masterfrom
out_file-avoid-broken-file-with-gzip-append
May 22, 2018
Merged

out_file: Temporal fix for broken gzipped files with gzip and append. ref #1903#1995
repeatedly merged 1 commit into
masterfrom
out_file-avoid-broken-file-with-gzip-append

Conversation

@repeatedly

Copy link
Copy Markdown
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
Copy Markdown
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