We have an issue where the dockerd on a worker node redeployed the stacks running on a worker node. From the logs, it looks like the worker node is having trouble communicating with swarm just before the stacks are redeployed. What happens when a swarm worker node with running stacks times out of the swarm and then rejoins? Would this cause the stacks to be redeployed?
Docker version 18.09.2, build 6247962
Ubuntu 18.04.1 LTS