{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls/36","id":182797805,"html_url":"https://github.com/brantburnett/couchbase-index-manager/pull/36","diff_url":"https://github.com/brantburnett/couchbase-index-manager/pull/36.diff","patch_url":"https://github.com/brantburnett/couchbase-index-manager/pull/36.patch","issue_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues/36","number":36,"state":"open","locked":false,"title":"Issue #35: Reduce index build race conditions","user":{"login":"brantburnett","id":7118719,"avatar_url":"https://avatars2.githubusercontent.com/u/7118719?v=4","gravatar_id":"","url":"https://api.github.com/users/brantburnett","html_url":"https://github.com/brantburnett","followers_url":"https://api.github.com/users/brantburnett/followers","following_url":"https://api.github.com/users/brantburnett/following{/other_user}","gists_url":"https://api.github.com/users/brantburnett/gists{/gist_id}","starred_url":"https://api.github.com/users/brantburnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brantburnett/subscriptions","organizations_url":"https://api.github.com/users/brantburnett/orgs","repos_url":"https://api.github.com/users/brantburnett/repos","events_url":"https://api.github.com/users/brantburnett/events{/privacy}","received_events_url":"https://api.github.com/users/brantburnett/received_events","type":"User","site_admin":false},"body":"Motivation\r\n----------\r\nIn some cases with partitioned indexes and replicas all index nodes are\r\nnot ready to build indexes immediately.  Issuing the BUILD INDEX command\r\ncan then cause them to only partially build at first.\r\n\r\nModifications\r\n-------------\r\nAdd a 3 second delay between creating all indexes and issuing the BUILD\r\nINDEX command.\r\n\r\nResults\r\n-------\r\nRace conditions should be significantly reduced.","created_at":"2018-04-19T14:37:35Z","updated_at":"2018-04-19T14:37:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls/36/commits","review_comments_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls/36/comments","review_comment_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues/36/comments","statuses_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/statuses/a54633e3fa49e0602b03b12314ce814a5e4da2b6","head":{"label":"brantburnett:issue35-raceconditions","ref":"issue35-raceconditions","sha":"a54633e3fa49e0602b03b12314ce814a5e4da2b6","user":{"login":"brantburnett","id":7118719,"avatar_url":"https://avatars2.githubusercontent.com/u/7118719?v=4","gravatar_id":"","url":"https://api.github.com/users/brantburnett","html_url":"https://github.com/brantburnett","followers_url":"https://api.github.com/users/brantburnett/followers","following_url":"https://api.github.com/users/brantburnett/following{/other_user}","gists_url":"https://api.github.com/users/brantburnett/gists{/gist_id}","starred_url":"https://api.github.com/users/brantburnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brantburnett/subscriptions","organizations_url":"https://api.github.com/users/brantburnett/orgs","repos_url":"https://api.github.com/users/brantburnett/repos","events_url":"https://api.github.com/users/brantburnett/events{/privacy}","received_events_url":"https://api.github.com/users/brantburnett/received_events","type":"User","site_admin":false},"repo":{"id":122531746,"name":"couchbase-index-manager","full_name":"brantburnett/couchbase-index-manager","owner":{"login":"brantburnett","id":7118719,"avatar_url":"https://avatars2.githubusercontent.com/u/7118719?v=4","gravatar_id":"","url":"https://api.github.com/users/brantburnett","html_url":"https://github.com/brantburnett","followers_url":"https://api.github.com/users/brantburnett/followers","following_url":"https://api.github.com/users/brantburnett/following{/other_user}","gists_url":"https://api.github.com/users/brantburnett/gists{/gist_id}","starred_url":"https://api.github.com/users/brantburnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brantburnett/subscriptions","organizations_url":"https://api.github.com/users/brantburnett/orgs","repos_url":"https://api.github.com/users/brantburnett/repos","events_url":"https://api.github.com/users/brantburnett/events{/privacy}","received_events_url":"https://api.github.com/users/brantburnett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brantburnett/couchbase-index-manager","description":"Command-line interface to manage Couchbase indexes, synchronizing them to index definitions.","fork":false,"url":"https://api.github.com/repos/brantburnett/couchbase-index-manager","forks_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/forks","keys_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/teams","hooks_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/hooks","issue_events_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues/events{/number}","events_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/events","assignees_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/assignees{/user}","branches_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/branches{/branch}","tags_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/tags","blobs_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/languages","stargazers_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/stargazers","contributors_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/contributors","subscribers_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/subscribers","subscription_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/subscription","commits_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/contents/{+path}","compare_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/merges","archive_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/downloads","issues_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues{/number}","pulls_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/labels{/name}","releases_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/releases{/id}","deployments_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/deployments","created_at":"2018-02-22T20:31:12Z","updated_at":"2018-04-19T14:19:12Z","pushed_at":"2018-04-19T14:37:24Z","git_url":"git://github.com/brantburnett/couchbase-index-manager.git","ssh_url":"git@github.com:brantburnett/couchbase-index-manager.git","clone_url":"https://github.com/brantburnett/couchbase-index-manager.git","svn_url":"https://github.com/brantburnett/couchbase-index-manager","homepage":null,"size":315,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"brantburnett:master","ref":"master","sha":"f25407b3e410e0b0ef677f338ed41263d46c8771","user":{"login":"brantburnett","id":7118719,"avatar_url":"https://avatars2.githubusercontent.com/u/7118719?v=4","gravatar_id":"","url":"https://api.github.com/users/brantburnett","html_url":"https://github.com/brantburnett","followers_url":"https://api.github.com/users/brantburnett/followers","following_url":"https://api.github.com/users/brantburnett/following{/other_user}","gists_url":"https://api.github.com/users/brantburnett/gists{/gist_id}","starred_url":"https://api.github.com/users/brantburnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brantburnett/subscriptions","organizations_url":"https://api.github.com/users/brantburnett/orgs","repos_url":"https://api.github.com/users/brantburnett/repos","events_url":"https://api.github.com/users/brantburnett/events{/privacy}","received_events_url":"https://api.github.com/users/brantburnett/received_events","type":"User","site_admin":false},"repo":{"id":122531746,"name":"couchbase-index-manager","full_name":"brantburnett/couchbase-index-manager","owner":{"login":"brantburnett","id":7118719,"avatar_url":"https://avatars2.githubusercontent.com/u/7118719?v=4","gravatar_id":"","url":"https://api.github.com/users/brantburnett","html_url":"https://github.com/brantburnett","followers_url":"https://api.github.com/users/brantburnett/followers","following_url":"https://api.github.com/users/brantburnett/following{/other_user}","gists_url":"https://api.github.com/users/brantburnett/gists{/gist_id}","starred_url":"https://api.github.com/users/brantburnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brantburnett/subscriptions","organizations_url":"https://api.github.com/users/brantburnett/orgs","repos_url":"https://api.github.com/users/brantburnett/repos","events_url":"https://api.github.com/users/brantburnett/events{/privacy}","received_events_url":"https://api.github.com/users/brantburnett/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brantburnett/couchbase-index-manager","description":"Command-line interface to manage Couchbase indexes, synchronizing them to index definitions.","fork":false,"url":"https://api.github.com/repos/brantburnett/couchbase-index-manager","forks_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/forks","keys_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/teams","hooks_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/hooks","issue_events_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues/events{/number}","events_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/events","assignees_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/assignees{/user}","branches_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/branches{/branch}","tags_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/tags","blobs_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/statuses/{sha}","languages_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/languages","stargazers_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/stargazers","contributors_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/contributors","subscribers_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/subscribers","subscription_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/subscription","commits_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/contents/{+path}","compare_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/merges","archive_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/downloads","issues_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues{/number}","pulls_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls{/number}","milestones_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/milestones{/number}","notifications_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/labels{/name}","releases_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/releases{/id}","deployments_url":"https://api.github.com/repos/brantburnett/couchbase-index-manager/deployments","created_at":"2018-02-22T20:31:12Z","updated_at":"2018-04-19T14:19:12Z","pushed_at":"2018-04-19T14:37:24Z","git_url":"git://github.com/brantburnett/couchbase-index-manager.git","ssh_url":"git@github.com:brantburnett/couchbase-index-manager.git","clone_url":"https://github.com/brantburnett/couchbase-index-manager.git","svn_url":"https://github.com/brantburnett/couchbase-index-manager","homepage":null,"size":315,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls/36"},"html":{"href":"https://github.com/brantburnett/couchbase-index-manager/pull/36"},"issue":{"href":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues/36"},"comments":{"href":"https://api.github.com/repos/brantburnett/couchbase-index-manager/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brantburnett/couchbase-index-manager/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/brantburnett/couchbase-index-manager/statuses/a54633e3fa49e0602b03b12314ce814a5e4da2b6"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"brantburnett"}}