SWJTU-ZhangLei commented on code in PR #56262:
URL: https://github.com/apache/doris/pull/56262#discussion_r2366885753
##########
be/src/io/fs/s3_file_writer.cpp:
##########
@@ -480,6 +480,7 @@ void S3FileWriter::_put_object(UploadFileBuffer& buf) {
<< " size=" << _bytes_appended << " time=" <<
timer.elapsed_time_milliseconds()
<< "ms";
s3_file_created_total << 1;
+ s3_bytes_written_total << buf.get_size();
Review Comment:
> May be state is closed when call destructor?
oh,我这里看错了,我以为是closed的状态时候统一计算,那没问题了
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]