Merge pull request #3629 from weaveworks/issue-3628

gossip broadcast updated ring on donating a range to other peer
This commit is contained in:
Bryan Boreham authored and GitHub committed 2019-05-03 16:32:23 +01:00
commit 760bc10074
1 file changed
+1
+1
View File
@@ -910,6 +910,7 @@ func (alloc *Allocator) donateSpace(r address.Range, to mesh.PeerName) {
alloc.debugln("Giving range", chunk, "to", to)
alloc.ring.GrantRangeToHost(chunk.Start, chunk.End, to)
alloc.persistRing()
alloc.gossip.GossipBroadcast(alloc.Gossip())
}
func (alloc *Allocator) assertInvariants() {