Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions plugins/out_s3/s3.c
Original file line number Diff line number Diff line change
Expand Up @@ -1120,15 +1120,6 @@ static int upload_data(struct flb_s3 *ctx, struct s3_file *chunk,
s3_store_file_unlock(chunk);
chunk->failures += 1;
}
if (ctx->key_fmt_has_seq_index) {
ctx->seq_index--;

ret = write_seq_index(ctx->seq_index_file, ctx->seq_index);
if (ret < 0) {
flb_plg_error(ctx->ins, "Failed to decrement index after request error");
return -1;
}
}
return FLB_RETRY;
}
m_upload->part_number += 1;
Expand Down