mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
060aa49a70
When a node joins a network it sends out a gossip event before it updates it's own in-memory state. This can create a race where the node gets the event back from a remote node before we update in-memory state and we treat that as latest state. To avoid this race, always generate the gossip after updating local state. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com> |
||
---|---|---|
.. | ||
broadcast.go | ||
cluster.go | ||
delegate.go | ||
event_delegate.go | ||
message.go | ||
networkdb.go | ||
networkdb_test.go | ||
watch.go |