{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/swarmkit/issues/907","repository_url":"https://api.github.com/repos/docker/swarmkit","labels_url":"https://api.github.com/repos/docker/swarmkit/issues/907/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarmkit/issues/907/comments","events_url":"https://api.github.com/repos/docker/swarmkit/issues/907/events","html_url":"https://github.com/docker/swarmkit/issues/907","id":159635672,"number":907,"title":"Task numbers went double when shuting down and restart `dockerd`.","user":{"login":"chanwit","id":10666,"avatar_url":"https://avatars.githubusercontent.com/u/10666?v=3","gravatar_id":"","url":"https://api.github.com/users/chanwit","html_url":"https://github.com/chanwit","followers_url":"https://api.github.com/users/chanwit/followers","following_url":"https://api.github.com/users/chanwit/following{/other_user}","gists_url":"https://api.github.com/users/chanwit/gists{/gist_id}","starred_url":"https://api.github.com/users/chanwit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanwit/subscriptions","organizations_url":"https://api.github.com/users/chanwit/orgs","repos_url":"https://api.github.com/users/chanwit/repos","events_url":"https://api.github.com/users/chanwit/events{/privacy}","received_events_url":"https://api.github.com/users/chanwit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-10T13:31:24Z","updated_at":"2016-06-10T13:31:24Z","closed_at":null,"body":"I start a service with `--scale 5`. It looks hang, so I stop (Ctrl-C) `dockerd` and start it again.\r\nAfter restarting the `dockerd` daemon, number of tasks went double.\r\n\r\nCompiled from the Docker's Swarm branch. Commit ID: 0611446fb4fbbc25fc13618562ec375f67361174\r\n\r\n```\r\n./docker service tasks 4qu\r\nID                         NAME                SERVICE           IMAGE  LAST STATE          DESIRED STATE  NODE\r\n94v1zu2vtruazohwbd2iz79w8  goofy_goldwasser.1  goofy_goldwasser  redis  RUNNING 17 seconds  RUNNING        compile-docker\r\nb1zlxvcd57214n28mxi8k902c  goofy_goldwasser.1  goofy_goldwasser  redis  RUNNING 18 seconds  RUNNING        compile-docker\r\n510kq9hy8eabekxorgmujnigf  goofy_goldwasser.2  goofy_goldwasser  redis  RUNNING 18 seconds  RUNNING        compile-docker\r\n54v1fi94nhn7vsuiq7c2f7v20  goofy_goldwasser.2  goofy_goldwasser  redis  RUNNING 18 seconds  RUNNING        compile-docker\r\nb8v0zbyooivks4arac2ejols4  goofy_goldwasser.3  goofy_goldwasser  redis  RUNNING 18 seconds  RUNNING        compile-docker\r\n1quq42d7dnc5weolxfz0fjpi0  goofy_goldwasser.3  goofy_goldwasser  redis  RUNNING 18 seconds  RUNNING        compile-docker\r\n2d69v43lzi9yddvl475ri6bvw  goofy_goldwasser.4  goofy_goldwasser  redis  RUNNING 17 seconds  RUNNING        compile-docker\r\nbiklfp5lwyn6i6990y6c4k2vz  goofy_goldwasser.4  goofy_goldwasser  redis  RUNNING 17 seconds  RUNNING        compile-docker\r\n7c4s9ie2goj9othars55f5l93  goofy_goldwasser.5  goofy_goldwasser  redis  RUNNING 19 seconds  RUNNING        compile-docker\r\n90i1g5x2daptw8kahe53be174  goofy_goldwasser.5  goofy_goldwasser  redis  RUNNING 18 seconds  RUNNING        compile-docker\r\n```"}}
{"actor":{"display_login":"chanwit"}}