Skip to content

Commit

Permalink
Fix potential hang issues when fine grained shuffle is enabled (#9548)
Browse files Browse the repository at this point in the history
ref #9413

Signed-off-by: xufei <[email protected]>
  • Loading branch information
windtalker authored Oct 21, 2024
1 parent 9eb0c80 commit ba157b4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dbms/src/Flash/Mpp/MPPTunnelSetWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,6 @@ void MPPTunnelSetWriterBase::fineGrainedShuffleWrite(
compression_method,
original_size);

if unlikely (tracked_packet->getPacket().chunks_size() <= 0)
return;

auto packet_bytes = tracked_packet->getPacket().ByteSizeLong();
checkPacketSize(packet_bytes);
writeToTunnel(std::move(tracked_packet), partition_id);
Expand All @@ -457,9 +454,6 @@ void MPPTunnelSetWriterBase::fineGrainedShuffleWrite(
num_columns,
result_field_types);

if unlikely (tracked_packet->getPacket().chunks_size() <= 0)
return;

auto packet_bytes = tracked_packet->getPacket().ByteSizeLong();
checkPacketSize(packet_bytes);
writeToTunnel(std::move(tracked_packet), partition_id);
Expand Down

0 comments on commit ba157b4

Please sign in to comment.