Skip to content

Commit

Permalink
#1279: gossiplb: name barrier to prevent hang
Browse files Browse the repository at this point in the history
  • Loading branch information
nlslatt committed Apr 9, 2021
1 parent e4ae883 commit f832796
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vt/vrt/collection/balance/gossiplb/gossiplb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,8 @@ void GossipLB::informSync() {
theSched()->runSchedulerWhile([this]{ return not setup_done_; });

for (; k_cur_ < k_max_; ++k_cur_) {
vt::theCollective()->barrier();
auto kbarr = theCollective()->newNamedCollectiveBarrier();
theCollective()->barrier(nullptr, kbarr);

auto name = fmt::format("GossipLB: informSync k_cur={}", k_cur_);
auto propagate_epoch = theTerm()->makeEpochCollective(name);
Expand Down

0 comments on commit f832796

Please sign in to comment.