Skip to content

Commit

Permalink
#2201: temperedlb: clear cur_block_ before recomputing the summary
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Nov 29, 2023
1 parent 690134a commit 0ae6532
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vt/vrt/collection/balance/temperedlb/temperedlb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ void TemperedLB::readClustersMemoryData() {
}

void TemperedLB::computeClusterSummary() {
cur_blocks_.clear();
for (auto const& [shared_id, shared_bytes] : shared_block_size_) {
LoadType cluster_load = 0;
for (auto const& [obj_id, obj_load] : cur_objs_) {
Expand Down

0 comments on commit 0ae6532

Please sign in to comment.