Skip to content

Commit

Permalink
use Broadcast for view barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Jul 14, 2021
1 parent 3d77ae1 commit 0231468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockstore/splitstore/splitstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ func (s *SplitStore) viewDone() {

s.txnViews--
if s.txnViews == 0 && s.txnViewsWaiting {
s.txnViewsCond.Signal()
s.txnViewsCond.Broadcast()
}
}

Expand Down

0 comments on commit 0231468

Please sign in to comment.