From 195084ac62554fb64f349c96c7fa427aa220a77f Mon Sep 17 00:00:00 2001 From: Xin Liao Date: Mon, 4 Mar 2024 22:48:47 +0800 Subject: [PATCH] [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 a619352fafa042..17c84956f69dac 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 write_func) { google::protobuf::RepeatedPtrField* tablet_errors = response->mutable_tablet_errors();