Skip to content

Commit

Permalink
[fix](s3) Prevent data race when finishing s3 file writer's _put_obje…
Browse files Browse the repository at this point in the history
…ct operation (apache#26811)
  • Loading branch information
ByteYue authored Nov 11, 2023
1 parent c26f5a2 commit 12b2b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/io/fs/s3_file_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ void S3FileWriter::_put_object(UploadFileBuffer& buf) {
response.GetError().GetExceptionName(),
response.GetError().GetMessage(),
static_cast<int>(response.GetError().GetResponseCode()));
buf.set_val(_st);
LOG(WARNING) << _st;
buf.set_val(_st);
return;
}
_bytes_written += buf.get_size();
Expand Down

0 comments on commit 12b2b0f

Please sign in to comment.