Skip to content

Commit 387c22d

Browse files
committed
out_s3: Restore detecting small fragmented gzip compressions clause
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent a6037ee commit 387c22d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

plugins/out_s3/s3.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,9 +1170,7 @@ static int upload_data(struct flb_s3 *ctx, struct s3_file *chunk,
11701170
goto multipart;
11711171
}
11721172
else {
1173-
if (ctx->use_put_object == FLB_FALSE &&
1174-
(ctx->compression == FLB_AWS_COMPRESS_ARROW ||
1175-
ctx->compression == FLB_AWS_COMPRESS_PARQUET)) {
1173+
if (ctx->use_put_object == FLB_FALSE && ctx->compression == FLB_AWS_COMPRESS_GZIP) {
11761174
flb_plg_info(ctx->ins, "Pre-compression upload_chunk_size= %zu, After compression, chunk is only %zu bytes, "
11771175
"the chunk was too small, using PutObject to upload", preCompress_size, body_size);
11781176
}

0 commit comments

Comments
 (0)