From 4f8fe2c13ff17e955f56a1c078fadb90c6eea4bd Mon Sep 17 00:00:00 2001 From: Murali Reddy Date: Tue, 9 Apr 2019 13:29:45 +0530 Subject: [PATCH] gossip broadcast updated rin on donating a range to other peer Fixes #3628 --- ipam/allocator.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ipam/allocator.go b/ipam/allocator.go index bfff91f0..63d0f658 100644 --- a/ipam/allocator.go +++ b/ipam/allocator.go @@ -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() {