Let's look at following command:
docker service update --detach=true --force service_name
Let's consider log of this operation:
service_name
overall progress: 1 out of 1 tasks
1/1: running [==================================================>]
verify: Waiting 1 seconds to verify that tasks are stable...
And now, my question is: From what swarm know that task is stable and ready for running? After all, we can launch any service in swarm and the question is how it recognize that it is ok to say that update succeeded and service is ready for working. Any materials or references about these things?