{"action":"closed","number":15156,"pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/15156","id":116554278,"html_url":"https://github.com/cockroachdb/cockroach/pull/15156","diff_url":"https://github.com/cockroachdb/cockroach/pull/15156.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/15156.patch","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/15156","number":15156,"state":"closed","locked":false,"title":"storage: Smooth out request counts used in lease placement decisions","user":{"login":"a-robinson","id":7085343,"avatar_url":"https://avatars0.githubusercontent.com/u/7085343?v=3","gravatar_id":"","url":"https://api.github.com/users/a-robinson","html_url":"https://github.com/a-robinson","followers_url":"https://api.github.com/users/a-robinson/followers","following_url":"https://api.github.com/users/a-robinson/following{/other_user}","gists_url":"https://api.github.com/users/a-robinson/gists{/gist_id}","starred_url":"https://api.github.com/users/a-robinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-robinson/subscriptions","organizations_url":"https://api.github.com/users/a-robinson/orgs","repos_url":"https://api.github.com/users/a-robinson/repos","events_url":"https://api.github.com/users/a-robinson/events{/privacy}","received_events_url":"https://api.github.com/users/a-robinson/received_events","type":"User","site_admin":false},"body":"Previously there could be fairly large jumps in value when measurements\r\nspanned a window rotation, since a window rotation immediately decreases\r\nthe value by a factor of `decayFactor`. That could make for less\r\nconsistent lease placement decisions, making for more potential\r\nthrashing.","created_at":"2017-04-19T13:57:04Z","updated_at":"2017-04-20T15:15:59Z","closed_at":"2017-04-20T15:15:59Z","merged_at":"2017-04-20T15:15:59Z","merge_commit_sha":"4fb40f9c82d65425d8e39ab6352670a9510b05b2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/15156/commits","review_comments_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/15156/comments","review_comment_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/15156/comments","statuses_url":"https://api.github.com/repos/cockroachdb/cockroach/statuses/cd09b017fb87826fb68314c2419860b8d0306b9e","head":{"label":"a-robinson:statsjumping","ref":"statsjumping","sha":"cd09b017fb87826fb68314c2419860b8d0306b9e","user":{"login":"a-robinson","id":7085343,"avatar_url":"https://avatars0.githubusercontent.com/u/7085343?v=3","gravatar_id":"","url":"https://api.github.com/users/a-robinson","html_url":"https://github.com/a-robinson","followers_url":"https://api.github.com/users/a-robinson/followers","following_url":"https://api.github.com/users/a-robinson/following{/other_user}","gists_url":"https://api.github.com/users/a-robinson/gists{/gist_id}","starred_url":"https://api.github.com/users/a-robinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-robinson/subscriptions","organizations_url":"https://api.github.com/users/a-robinson/orgs","repos_url":"https://api.github.com/users/a-robinson/repos","events_url":"https://api.github.com/users/a-robinson/events{/privacy}","received_events_url":"https://api.github.com/users/a-robinson/received_events","type":"User","site_admin":false},"repo":{"id":60129294,"name":"cockroach","full_name":"a-robinson/cockroach","owner":{"login":"a-robinson","id":7085343,"avatar_url":"https://avatars0.githubusercontent.com/u/7085343?v=3","gravatar_id":"","url":"https://api.github.com/users/a-robinson","html_url":"https://github.com/a-robinson","followers_url":"https://api.github.com/users/a-robinson/followers","following_url":"https://api.github.com/users/a-robinson/following{/other_user}","gists_url":"https://api.github.com/users/a-robinson/gists{/gist_id}","starred_url":"https://api.github.com/users/a-robinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-robinson/subscriptions","organizations_url":"https://api.github.com/users/a-robinson/orgs","repos_url":"https://api.github.com/users/a-robinson/repos","events_url":"https://api.github.com/users/a-robinson/events{/privacy}","received_events_url":"https://api.github.com/users/a-robinson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/a-robinson/cockroach","description":"A Scalable, Survivable, Strongly-Consistent SQL Database","fork":true,"url":"https://api.github.com/repos/a-robinson/cockroach","forks_url":"https://api.github.com/repos/a-robinson/cockroach/forks","keys_url":"https://api.github.com/repos/a-robinson/cockroach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/a-robinson/cockroach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/a-robinson/cockroach/teams","hooks_url":"https://api.github.com/repos/a-robinson/cockroach/hooks","issue_events_url":"https://api.github.com/repos/a-robinson/cockroach/issues/events{/number}","events_url":"https://api.github.com/repos/a-robinson/cockroach/events","assignees_url":"https://api.github.com/repos/a-robinson/cockroach/assignees{/user}","branches_url":"https://api.github.com/repos/a-robinson/cockroach/branches{/branch}","tags_url":"https://api.github.com/repos/a-robinson/cockroach/tags","blobs_url":"https://api.github.com/repos/a-robinson/cockroach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/a-robinson/cockroach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/a-robinson/cockroach/git/refs{/sha}","trees_url":"https://api.github.com/repos/a-robinson/cockroach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/a-robinson/cockroach/statuses/{sha}","languages_url":"https://api.github.com/repos/a-robinson/cockroach/languages","stargazers_url":"https://api.github.com/repos/a-robinson/cockroach/stargazers","contributors_url":"https://api.github.com/repos/a-robinson/cockroach/contributors","subscribers_url":"https://api.github.com/repos/a-robinson/cockroach/subscribers","subscription_url":"https://api.github.com/repos/a-robinson/cockroach/subscription","commits_url":"https://api.github.com/repos/a-robinson/cockroach/commits{/sha}","git_commits_url":"https://api.github.com/repos/a-robinson/cockroach/git/commits{/sha}","comments_url":"https://api.github.com/repos/a-robinson/cockroach/comments{/number}","issue_comment_url":"https://api.github.com/repos/a-robinson/cockroach/issues/comments{/number}","contents_url":"https://api.github.com/repos/a-robinson/cockroach/contents/{+path}","compare_url":"https://api.github.com/repos/a-robinson/cockroach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/a-robinson/cockroach/merges","archive_url":"https://api.github.com/repos/a-robinson/cockroach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/a-robinson/cockroach/downloads","issues_url":"https://api.github.com/repos/a-robinson/cockroach/issues{/number}","pulls_url":"https://api.github.com/repos/a-robinson/cockroach/pulls{/number}","milestones_url":"https://api.github.com/repos/a-robinson/cockroach/milestones{/number}","notifications_url":"https://api.github.com/repos/a-robinson/cockroach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/a-robinson/cockroach/labels{/name}","releases_url":"https://api.github.com/repos/a-robinson/cockroach/releases{/id}","deployments_url":"https://api.github.com/repos/a-robinson/cockroach/deployments","created_at":"2016-05-31T22:58:50Z","updated_at":"2016-12-21T03:05:47Z","pushed_at":"2017-04-20T14:40:41Z","git_url":"git://github.com/a-robinson/cockroach.git","ssh_url":"git@github.com:a-robinson/cockroach.git","clone_url":"https://github.com/a-robinson/cockroach.git","svn_url":"https://github.com/a-robinson/cockroach","homepage":"https://www.cockroachlabs.com","size":283206,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_projects":true,"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":1,"default_branch":"master"}},"base":{"label":"cockroachdb:master","ref":"master","sha":"300b862173c8033b4a01622f0a2f225267ec3a35","user":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars0.githubusercontent.com/u/6748139?v=3","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"repo":{"id":16563587,"name":"cockroach","full_name":"cockroachdb/cockroach","owner":{"login":"cockroachdb","id":6748139,"avatar_url":"https://avatars0.githubusercontent.com/u/6748139?v=3","gravatar_id":"","url":"https://api.github.com/users/cockroachdb","html_url":"https://github.com/cockroachdb","followers_url":"https://api.github.com/users/cockroachdb/followers","following_url":"https://api.github.com/users/cockroachdb/following{/other_user}","gists_url":"https://api.github.com/users/cockroachdb/gists{/gist_id}","starred_url":"https://api.github.com/users/cockroachdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockroachdb/subscriptions","organizations_url":"https://api.github.com/users/cockroachdb/orgs","repos_url":"https://api.github.com/users/cockroachdb/repos","events_url":"https://api.github.com/users/cockroachdb/events{/privacy}","received_events_url":"https://api.github.com/users/cockroachdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cockroachdb/cockroach","description":"CockroachDB - the scalable, survivable, strongly-consistent SQL database","fork":false,"url":"https://api.github.com/repos/cockroachdb/cockroach","forks_url":"https://api.github.com/repos/cockroachdb/cockroach/forks","keys_url":"https://api.github.com/repos/cockroachdb/cockroach/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cockroachdb/cockroach/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cockroachdb/cockroach/teams","hooks_url":"https://api.github.com/repos/cockroachdb/cockroach/hooks","issue_events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/events{/number}","events_url":"https://api.github.com/repos/cockroachdb/cockroach/events","assignees_url":"https://api.github.com/repos/cockroachdb/cockroach/assignees{/user}","branches_url":"https://api.github.com/repos/cockroachdb/cockroach/branches{/branch}","tags_url":"https://api.github.com/repos/cockroachdb/cockroach/tags","blobs_url":"https://api.github.com/repos/cockroachdb/cockroach/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cockroachdb/cockroach/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cockroachdb/cockroach/git/refs{/sha}","trees_url":"https://api.github.com/repos/cockroachdb/cockroach/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cockroachdb/cockroach/statuses/{sha}","languages_url":"https://api.github.com/repos/cockroachdb/cockroach/languages","stargazers_url":"https://api.github.com/repos/cockroachdb/cockroach/stargazers","contributors_url":"https://api.github.com/repos/cockroachdb/cockroach/contributors","subscribers_url":"https://api.github.com/repos/cockroachdb/cockroach/subscribers","subscription_url":"https://api.github.com/repos/cockroachdb/cockroach/subscription","commits_url":"https://api.github.com/repos/cockroachdb/cockroach/commits{/sha}","git_commits_url":"https://api.github.com/repos/cockroachdb/cockroach/git/commits{/sha}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/comments{/number}","issue_comment_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments{/number}","contents_url":"https://api.github.com/repos/cockroachdb/cockroach/contents/{+path}","compare_url":"https://api.github.com/repos/cockroachdb/cockroach/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cockroachdb/cockroach/merges","archive_url":"https://api.github.com/repos/cockroachdb/cockroach/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cockroachdb/cockroach/downloads","issues_url":"https://api.github.com/repos/cockroachdb/cockroach/issues{/number}","pulls_url":"https://api.github.com/repos/cockroachdb/cockroach/pulls{/number}","milestones_url":"https://api.github.com/repos/cockroachdb/cockroach/milestones{/number}","notifications_url":"https://api.github.com/repos/cockroachdb/cockroach/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/labels{/name}","releases_url":"https://api.github.com/repos/cockroachdb/cockroach/releases{/id}","deployments_url":"https://api.github.com/repos/cockroachdb/cockroach/deployments","created_at":"2014-02-06T00:18:47Z","updated_at":"2017-04-20T15:05:34Z","pushed_at":"2017-04-20T15:15:59Z","git_url":"git://github.com/cockroachdb/cockroach.git","ssh_url":"git@github.com:cockroachdb/cockroach.git","clone_url":"https://github.com/cockroachdb/cockroach.git","svn_url":"https://github.com/cockroachdb/cockroach","homepage":"https://www.cockroachlabs.com","size":508659,"stargazers_count":9263,"watchers_count":9263,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":920,"mirror_url":null,"open_issues_count":893,"forks":920,"open_issues":893,"watchers":9263,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/15156"},"html":{"href":"https://github.com/cockroachdb/cockroach/pull/15156"},"issue":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/15156"},"comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/issues/15156/comments"},"review_comments":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/15156/comments"},"review_comment":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cockroachdb/cockroach/pulls/15156/commits"},"statuses":{"href":"https://api.github.com/repos/cockroachdb/cockroach/statuses/cd09b017fb87826fb68314c2419860b8d0306b9e"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"a-robinson","id":7085343,"avatar_url":"https://avatars0.githubusercontent.com/u/7085343?v=3","gravatar_id":"","url":"https://api.github.com/users/a-robinson","html_url":"https://github.com/a-robinson","followers_url":"https://api.github.com/users/a-robinson/followers","following_url":"https://api.github.com/users/a-robinson/following{/other_user}","gists_url":"https://api.github.com/users/a-robinson/gists{/gist_id}","starred_url":"https://api.github.com/users/a-robinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-robinson/subscriptions","organizations_url":"https://api.github.com/users/a-robinson/orgs","repos_url":"https://api.github.com/users/a-robinson/repos","events_url":"https://api.github.com/users/a-robinson/events{/privacy}","received_events_url":"https://api.github.com/users/a-robinson/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":93,"deletions":24,"changed_files":2}}
{"actor":{"display_login":"a-robinson"}}