You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2024/03/04 14:48:55 UTC

(doris) branch branch-2.0 updated: [fix](load) Fix using uint32 for tablet id overflow (#31532) (#31758)

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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 02b592341bd [fix](load) Fix using uint32 for tablet id overflow (#31532) (#31758)
02b592341bd is described below

commit 02b592341bda6775bb76c31056604e1f386b2df0
Author: Xin Liao <li...@126.com>
AuthorDate: Mon Mar 4 22:48:47 2024 +0800

    [fix](load) Fix using uint32 for tablet id overflow (#31532) (#31758)
---
 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 a619352fafa..17c84956f69 100644
--- a/be/src/runtime/tablets_channel.cpp
+++ b/be/src/runtime/tablets_channel.cpp
@@ -471,7 +471,7 @@ Status TabletsChannel::add_batch(const PTabletWriterAddBlockRequest& request,
             << "block rows: " << send_data.rows()
             << ", tablet_ids_size: " << request.tablet_ids_size();
 
-    auto write_tablet_data = [&](uint32_t tablet_id,
+    auto write_tablet_data = [&](int64_t tablet_id,
                                  std::function<Status(DeltaWriter * writer)> write_func) {
         google::protobuf::RepeatedPtrField<PTabletError>* tablet_errors =
                 response->mutable_tablet_errors();


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