{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/70909959","id":70909959,"diff_hunk":"@@ -67,6 +78,16 @@ applies the update to nodes according to the `UpdateConfig` policy:\n     redis\n     ```\n \n+    The scheduler applies rolling updates as follows:\n+\n+    * Stop the initial number of tasks according to `--update-parallelism`.\n+    * Schedule updates for the stopped tasks.\n+    * Start the containers for the updated tasks.\n+    * Wait for the health checks on individual tasks to return a state of either","path":"docs/swarm/swarm-tutorial/rolling-update.md","position":60,"original_position":60,"commit_id":"a1ba41b19ae98c9cca76b43c2c670b12909e619d","original_commit_id":"a1ba41b19ae98c9cca76b43c2c670b12909e619d","user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"body":"It does wait until the task's state reaches either `RUNNING` or `FAILED`.","created_at":"2016-07-15T01:25:30Z","updated_at":"2016-07-15T01:25:30Z","html_url":"https://github.com/docker/docker/pull/24523#discussion_r70909959","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/24523","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/70909959"},"html":{"href":"https://github.com/docker/docker/pull/24523#discussion_r70909959"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/24523"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/24523","id":77055265,"html_url":"https://github.com/docker/docker/pull/24523","diff_url":"https://github.com/docker/docker/pull/24523.diff","patch_url":"https://github.com/docker/docker/pull/24523.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/24523","number":24523,"state":"open","locked":false,"title":"clarify update-delay and rolling update behavior","user":{"login":"sfsmithcha","id":2415653,"avatar_url":"https://avatars.githubusercontent.com/u/2415653?v=3","gravatar_id":"","url":"https://api.github.com/users/sfsmithcha","html_url":"https://github.com/sfsmithcha","followers_url":"https://api.github.com/users/sfsmithcha/followers","following_url":"https://api.github.com/users/sfsmithcha/following{/other_user}","gists_url":"https://api.github.com/users/sfsmithcha/gists{/gist_id}","starred_url":"https://api.github.com/users/sfsmithcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfsmithcha/subscriptions","organizations_url":"https://api.github.com/users/sfsmithcha/orgs","repos_url":"https://api.github.com/users/sfsmithcha/repos","events_url":"https://api.github.com/users/sfsmithcha/events{/privacy}","received_events_url":"https://api.github.com/users/sfsmithcha/received_events","type":"User","site_admin":false},"body":"remove misleading text about how the update-delay setting works from the tutorial.\r\ndescribe the rolling update process\r\nSigned-off-by: Charles Smith <charles.smith@docker.com>","created_at":"2016-07-12T03:10:10Z","updated_at":"2016-07-15T01:25:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5bc82baa2b75b914b2eefd69de2a98e63adc97c","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/53","html_url":"https://github.com/docker/docker/milestones/1.12.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/53/labels","id":1657301,"number":53,"title":"1.12.0","description":"feature/code freeze: June 14th, 2016","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":135,"closed_issues":639,"state":"open","created_at":"2016-03-21T13:47:53Z","updated_at":"2016-07-14T23:42:31Z","due_on":"2016-07-28T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/docker/docker/pulls/24523/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/24523/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/24523/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/a1ba41b19ae98c9cca76b43c2c670b12909e619d","head":{"label":"sfsmithcha:clarify_rolling_update","ref":"clarify_rolling_update","sha":"a1ba41b19ae98c9cca76b43c2c670b12909e619d","user":{"login":"sfsmithcha","id":2415653,"avatar_url":"https://avatars.githubusercontent.com/u/2415653?v=3","gravatar_id":"","url":"https://api.github.com/users/sfsmithcha","html_url":"https://github.com/sfsmithcha","followers_url":"https://api.github.com/users/sfsmithcha/followers","following_url":"https://api.github.com/users/sfsmithcha/following{/other_user}","gists_url":"https://api.github.com/users/sfsmithcha/gists{/gist_id}","starred_url":"https://api.github.com/users/sfsmithcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfsmithcha/subscriptions","organizations_url":"https://api.github.com/users/sfsmithcha/orgs","repos_url":"https://api.github.com/users/sfsmithcha/repos","events_url":"https://api.github.com/users/sfsmithcha/events{/privacy}","received_events_url":"https://api.github.com/users/sfsmithcha/received_events","type":"User","site_admin":false},"repo":{"id":55171255,"name":"docker","full_name":"sfsmithcha/docker","owner":{"login":"sfsmithcha","id":2415653,"avatar_url":"https://avatars.githubusercontent.com/u/2415653?v=3","gravatar_id":"","url":"https://api.github.com/users/sfsmithcha","html_url":"https://github.com/sfsmithcha","followers_url":"https://api.github.com/users/sfsmithcha/followers","following_url":"https://api.github.com/users/sfsmithcha/following{/other_user}","gists_url":"https://api.github.com/users/sfsmithcha/gists{/gist_id}","starred_url":"https://api.github.com/users/sfsmithcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfsmithcha/subscriptions","organizations_url":"https://api.github.com/users/sfsmithcha/orgs","repos_url":"https://api.github.com/users/sfsmithcha/repos","events_url":"https://api.github.com/users/sfsmithcha/events{/privacy}","received_events_url":"https://api.github.com/users/sfsmithcha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sfsmithcha/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/sfsmithcha/docker","forks_url":"https://api.github.com/repos/sfsmithcha/docker/forks","keys_url":"https://api.github.com/repos/sfsmithcha/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfsmithcha/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfsmithcha/docker/teams","hooks_url":"https://api.github.com/repos/sfsmithcha/docker/hooks","issue_events_url":"https://api.github.com/repos/sfsmithcha/docker/issues/events{/number}","events_url":"https://api.github.com/repos/sfsmithcha/docker/events","assignees_url":"https://api.github.com/repos/sfsmithcha/docker/assignees{/user}","branches_url":"https://api.github.com/repos/sfsmithcha/docker/branches{/branch}","tags_url":"https://api.github.com/repos/sfsmithcha/docker/tags","blobs_url":"https://api.github.com/repos/sfsmithcha/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfsmithcha/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfsmithcha/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfsmithcha/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfsmithcha/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/sfsmithcha/docker/languages","stargazers_url":"https://api.github.com/repos/sfsmithcha/docker/stargazers","contributors_url":"https://api.github.com/repos/sfsmithcha/docker/contributors","subscribers_url":"https://api.github.com/repos/sfsmithcha/docker/subscribers","subscription_url":"https://api.github.com/repos/sfsmithcha/docker/subscription","commits_url":"https://api.github.com/repos/sfsmithcha/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfsmithcha/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfsmithcha/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfsmithcha/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfsmithcha/docker/contents/{+path}","compare_url":"https://api.github.com/repos/sfsmithcha/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfsmithcha/docker/merges","archive_url":"https://api.github.com/repos/sfsmithcha/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfsmithcha/docker/downloads","issues_url":"https://api.github.com/repos/sfsmithcha/docker/issues{/number}","pulls_url":"https://api.github.com/repos/sfsmithcha/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/sfsmithcha/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/sfsmithcha/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfsmithcha/docker/labels{/name}","releases_url":"https://api.github.com/repos/sfsmithcha/docker/releases{/id}","deployments_url":"https://api.github.com/repos/sfsmithcha/docker/deployments","created_at":"2016-03-31T17:50:02Z","updated_at":"2016-03-31T17:50:14Z","pushed_at":"2016-07-14T20:30:24Z","git_url":"git://github.com/sfsmithcha/docker.git","ssh_url":"git@github.com:sfsmithcha/docker.git","clone_url":"https://github.com/sfsmithcha/docker.git","svn_url":"https://github.com/sfsmithcha/docker","homepage":"http://www.docker.com","size":97726,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"ed94129c9e48ccdbefc3578401d045139385f5c6","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","deployments_url":"https://api.github.com/repos/docker/docker/deployments","created_at":"2013-01-18T18:10:57Z","updated_at":"2016-07-14T23:46:55Z","pushed_at":"2016-07-15T00:32:18Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":204719,"stargazers_count":33010,"watchers_count":33010,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9548,"mirror_url":null,"open_issues_count":1960,"forks":9548,"open_issues":1960,"watchers":33010,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/24523"},"html":{"href":"https://github.com/docker/docker/pull/24523"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/24523"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/24523/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/24523/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/24523/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/a1ba41b19ae98c9cca76b43c2c670b12909e619d"}}}}
{"actor":{"display_login":"aaronlehmann"}}