Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteYue committed Jun 27, 2024
1 parent 8e7683d commit aec2be5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions be/src/io/fs/s3_file_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,17 +299,13 @@ void S3FileWriter::_upload_one_part(int64_t part_num, UploadFileBuffer& buf) {
buf.set_status(Status::InternalError<false>("invalid obj storage client"));
return;
}
LOG_INFO("begin upload for file path {}, part {}", _obj_storage_path_opts.path.native(),
part_num);
auto resp = client->upload_part(_obj_storage_path_opts, buf.get_string_view_data(), part_num);
if (resp.resp.status.code != ErrorCode::OK) {
LOG_INFO("failed at key: {}, load part {}, st {}", _obj_storage_path_opts.key, part_num,
resp.resp.status.msg);
buf.set_status(Status(resp.resp.status.code, std::move(resp.resp.status.msg)));
return;
}
LOG_INFO("finish upload for file path {}, part {}", _obj_storage_path_opts.path.native(),
part_num);
s3_bytes_written_total << buf.get_size();

ObjectCompleteMultiPart completed_part {
Expand Down

0 comments on commit aec2be5

Please sign in to comment.