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

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

commit 8c570c217ee2cb5ae764a894c7dfe5cba24d2b99
Author: Xin Liao <[email protected]>
AuthorDate: Wed Feb 28 21:27:17 2024 +0800

    [fix](load) Fix using uint32 for tablet id overflow (#31532)
---
 be/src/runtime/tablets_channel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/runtime/tablets_channel.cpp 
b/be/src/runtime/tablets_channel.cpp
index f3f2648ba70..ad6a7f73c49 100644
--- a/be/src/runtime/tablets_channel.cpp
+++ b/be/src/runtime/tablets_channel.cpp
@@ -532,7 +532,7 @@ Status BaseTabletsChannel::add_batch(const 
PTabletWriterAddBlockRequest& request
     Defer defer {
             [&]() { g_tablets_channel_send_data_allocated_size << 
-send_data.allocated_bytes(); }};
 
-    auto write_tablet_data = [&](uint32_t tablet_id,
+    auto write_tablet_data = [&](int64_t tablet_id,
                                  std::function<Status(BaseDeltaWriter * 
writer)> write_func) {
         google::protobuf::RepeatedPtrField<PTabletError>* tablet_errors =
                 response->mutable_tablet_errors();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to