Skip to content

Commit

Permalink
#2201: temperedlb: add missing check for zero cluster size
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Nov 29, 2023
1 parent ea410f5 commit ec201d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vt/vrt/collection/balance/temperedlb/temperedlb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,9 @@ void TemperedLB::computeClusterSummary() {
}
}
}
cur_blocks_[shared_id] = std::make_tuple(shared_bytes, cluster_load);
if (cluster_load != 0) {
cur_blocks_[shared_id] = std::make_tuple(shared_bytes, cluster_load);
}
}
}

Expand Down

0 comments on commit ec201d9

Please sign in to comment.