Skip to content

Commit

Permalink
[fix](load) Fix using uint32 for tablet id overflow (apache#31532) (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoxin01 authored and weixingyu12 committed Mar 6, 2024
1 parent 226501c commit 195084a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/runtime/tablets_channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 195084a

Please sign in to comment.