gossip broadcast updated rin on donating a range to other peer

Fixes #3628
This commit is contained in:
Murali Reddy committed 2019-04-26 15:21:23 +05:30
1 parent b248e021ec
commit 4f8fe2c13f
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() {