Skip to content

Commit

Permalink
[fix](load) Fix using uint32 for tablet id overflow (apache#31532)
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoxin01 committed Mar 4, 2024
1 parent 02b6e30 commit 31c2eab
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 31c2eab

Please sign in to comment.