1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/cluster
Flavio Crisciani e2ec006797
Fix race condition between swarm and libnetwork
This commit in conjunction with a libnetwork side commit,
cleans up the libnetwork SetClusterProvider logic interaction.
The previous code was inducing libnetwork to spawn several go
routines that were racing between each other during the agent
init and close.

A test got added to verify that back to back swarm init and leave
are properly processed and not raise crashes

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
2017-05-10 21:16:52 -07:00
..
controllers/plugin add support for swarmkit generic runtime 2017-04-11 14:02:01 -04:00
convert Propagate the swarm cluster and node TLS info provided by the swarm 2017-05-10 11:29:17 -07:00
executor Change GetRepository to take Named arguments 2017-05-08 16:58:38 -07:00
provider
cluster.go Fix race condition between swarm and libnetwork 2017-05-10 21:16:52 -07:00
filters.go
filters_test.go
helpers.go Change "service inspect" to show defaults in place of empty fields 2017-04-10 13:41:16 -07:00
listen_addr.go Inroduce SWARM --data-path-addr flag 2017-04-26 15:33:15 -07:00
listen_addr_linux.go
listen_addr_others.go
listen_addr_solaris.go
networks.go use make slice to store objects to improve efficiency 2017-04-14 11:02:28 +08:00
noderunner.go Fix race condition between swarm and libnetwork 2017-05-10 21:16:52 -07:00
nodes.go use make slice to store objects to improve efficiency 2017-04-14 11:02:28 +08:00
secrets.go use make slice to store objects to improve efficiency 2017-04-14 11:02:28 +08:00
services.go move service runtime filter to server 2017-04-25 15:38:46 -04:00
swarm.go Fix race condition between swarm and libnetwork 2017-05-10 21:16:52 -07:00
tasks.go use make slice to store objects to improve efficiency 2017-04-14 11:02:28 +08:00
utils.go