You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/06/29 14:21:11 UTC

[doris] 04/05: [Fix](s3FileWriter) fix bytes_appended bug for s3_file_writer (#21348)

This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 7841479acebce3979f49f0316f9a78787dbcd419
Author: airborne12 <ai...@gmail.com>
AuthorDate: Thu Jun 29 22:06:49 2023 +0800

    [Fix](s3FileWriter) fix bytes_appended bug for s3_file_writer (#21348)
---
 be/src/io/fs/s3_file_writer.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/be/src/io/fs/s3_file_writer.h b/be/src/io/fs/s3_file_writer.h
index 0716ac6356..d8956da88a 100644
--- a/be/src/io/fs/s3_file_writer.h
+++ b/be/src/io/fs/s3_file_writer.h
@@ -57,8 +57,6 @@ public:
         return Status::NotSupported("not support");
     }
 
-    size_t bytes_appended() const { return _bytes_appended; }
-
     int64_t upload_cost_ms() const { return *_upload_cost_ms; }
 
 private:
@@ -115,7 +113,6 @@ private:
 
     std::shared_ptr<Aws::S3::S3Client> _client;
     std::string _upload_id;
-    size_t _bytes_appended {0};
 
     // Current Part Num for CompletedPart
     int _cur_part_num = 1;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org