{"action":"closed","number":3660,"pull_request":{"url":"https://api.github.com/repos/vespa-engine/vespa/pulls/3660","id":144886589,"html_url":"https://github.com/vespa-engine/vespa/pull/3660","diff_url":"https://github.com/vespa-engine/vespa/pull/3660.diff","patch_url":"https://github.com/vespa-engine/vespa/pull/3660.patch","issue_url":"https://api.github.com/repos/vespa-engine/vespa/issues/3660","number":3660,"state":"closed","locked":false,"title":"Log with backtrace when inserting an empty bucket into the database","user":{"login":"vekterli","id":16582643,"avatar_url":"https://avatars1.githubusercontent.com/u/16582643?v=4","gravatar_id":"","url":"https://api.github.com/users/vekterli","html_url":"https://github.com/vekterli","followers_url":"https://api.github.com/users/vekterli/followers","following_url":"https://api.github.com/users/vekterli/following{/other_user}","gists_url":"https://api.github.com/users/vekterli/gists{/gist_id}","starred_url":"https://api.github.com/users/vekterli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vekterli/subscriptions","organizations_url":"https://api.github.com/users/vekterli/orgs","repos_url":"https://api.github.com/users/vekterli/repos","events_url":"https://api.github.com/users/vekterli/events{/privacy}","received_events_url":"https://api.github.com/users/vekterli/received_events","type":"User","site_admin":false},"body":"@hakonhall please review.\r\n\r\nThe database should not contain empty buckets, but there exists an\r\nunknown edge case where this appears to happen. This logging should\r\nhelp us track down where it happens from. Should replace logging\r\nwith assertion once we're confident it doesn't trigger in any common\r\nscenarios.","created_at":"2017-10-05T11:06:13Z","updated_at":"2017-10-05T14:42:10Z","closed_at":"2017-10-05T14:42:10Z","merged_at":"2017-10-05T14:42:10Z","merge_commit_sha":"ae0b0962ce1fb23bd5cca58ddfeb3596bf1453f4","assignee":{"login":"vekterli","id":16582643,"avatar_url":"https://avatars1.githubusercontent.com/u/16582643?v=4","gravatar_id":"","url":"https://api.github.com/users/vekterli","html_url":"https://github.com/vekterli","followers_url":"https://api.github.com/users/vekterli/followers","following_url":"https://api.github.com/users/vekterli/following{/other_user}","gists_url":"https://api.github.com/users/vekterli/gists{/gist_id}","starred_url":"https://api.github.com/users/vekterli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vekterli/subscriptions","organizations_url":"https://api.github.com/users/vekterli/orgs","repos_url":"https://api.github.com/users/vekterli/repos","events_url":"https://api.github.com/users/vekterli/events{/privacy}","received_events_url":"https://api.github.com/users/vekterli/received_events","type":"User","site_admin":false},"assignees":[{"login":"vekterli","id":16582643,"avatar_url":"https://avatars1.githubusercontent.com/u/16582643?v=4","gravatar_id":"","url":"https://api.github.com/users/vekterli","html_url":"https://github.com/vekterli","followers_url":"https://api.github.com/users/vekterli/followers","following_url":"https://api.github.com/users/vekterli/following{/other_user}","gists_url":"https://api.github.com/users/vekterli/gists{/gist_id}","starred_url":"https://api.github.com/users/vekterli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vekterli/subscriptions","organizations_url":"https://api.github.com/users/vekterli/orgs","repos_url":"https://api.github.com/users/vekterli/repos","events_url":"https://api.github.com/users/vekterli/events{/privacy}","received_events_url":"https://api.github.com/users/vekterli/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vespa-engine/vespa/pulls/3660/commits","review_comments_url":"https://api.github.com/repos/vespa-engine/vespa/pulls/3660/comments","review_comment_url":"https://api.github.com/repos/vespa-engine/vespa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vespa-engine/vespa/issues/3660/comments","statuses_url":"https://api.github.com/repos/vespa-engine/vespa/statuses/24670c5ccf0d5287c2ef6d3d7b70e3de014d4003","head":{"label":"vespa-engine:vekterli/log-with-backtrace-on-empty-bucketdb-update","ref":"vekterli/log-with-backtrace-on-empty-bucketdb-update","sha":"24670c5ccf0d5287c2ef6d3d7b70e3de014d4003","user":{"login":"vespa-engine","id":29299694,"avatar_url":"https://avatars1.githubusercontent.com/u/29299694?v=4","gravatar_id":"","url":"https://api.github.com/users/vespa-engine","html_url":"https://github.com/vespa-engine","followers_url":"https://api.github.com/users/vespa-engine/followers","following_url":"https://api.github.com/users/vespa-engine/following{/other_user}","gists_url":"https://api.github.com/users/vespa-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/vespa-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vespa-engine/subscriptions","organizations_url":"https://api.github.com/users/vespa-engine/orgs","repos_url":"https://api.github.com/users/vespa-engine/repos","events_url":"https://api.github.com/users/vespa-engine/events{/privacy}","received_events_url":"https://api.github.com/users/vespa-engine/received_events","type":"Organization","site_admin":false},"repo":{"id":60377070,"name":"vespa","full_name":"vespa-engine/vespa","owner":{"login":"vespa-engine","id":29299694,"avatar_url":"https://avatars1.githubusercontent.com/u/29299694?v=4","gravatar_id":"","url":"https://api.github.com/users/vespa-engine","html_url":"https://github.com/vespa-engine","followers_url":"https://api.github.com/users/vespa-engine/followers","following_url":"https://api.github.com/users/vespa-engine/following{/other_user}","gists_url":"https://api.github.com/users/vespa-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/vespa-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vespa-engine/subscriptions","organizations_url":"https://api.github.com/users/vespa-engine/orgs","repos_url":"https://api.github.com/users/vespa-engine/repos","events_url":"https://api.github.com/users/vespa-engine/events{/privacy}","received_events_url":"https://api.github.com/users/vespa-engine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vespa-engine/vespa","description":"Vespa - the open big data serving engine","fork":false,"url":"https://api.github.com/repos/vespa-engine/vespa","forks_url":"https://api.github.com/repos/vespa-engine/vespa/forks","keys_url":"https://api.github.com/repos/vespa-engine/vespa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vespa-engine/vespa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vespa-engine/vespa/teams","hooks_url":"https://api.github.com/repos/vespa-engine/vespa/hooks","issue_events_url":"https://api.github.com/repos/vespa-engine/vespa/issues/events{/number}","events_url":"https://api.github.com/repos/vespa-engine/vespa/events","assignees_url":"https://api.github.com/repos/vespa-engine/vespa/assignees{/user}","branches_url":"https://api.github.com/repos/vespa-engine/vespa/branches{/branch}","tags_url":"https://api.github.com/repos/vespa-engine/vespa/tags","blobs_url":"https://api.github.com/repos/vespa-engine/vespa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vespa-engine/vespa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vespa-engine/vespa/git/refs{/sha}","trees_url":"https://api.github.com/repos/vespa-engine/vespa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vespa-engine/vespa/statuses/{sha}","languages_url":"https://api.github.com/repos/vespa-engine/vespa/languages","stargazers_url":"https://api.github.com/repos/vespa-engine/vespa/stargazers","contributors_url":"https://api.github.com/repos/vespa-engine/vespa/contributors","subscribers_url":"https://api.github.com/repos/vespa-engine/vespa/subscribers","subscription_url":"https://api.github.com/repos/vespa-engine/vespa/subscription","commits_url":"https://api.github.com/repos/vespa-engine/vespa/commits{/sha}","git_commits_url":"https://api.github.com/repos/vespa-engine/vespa/git/commits{/sha}","comments_url":"https://api.github.com/repos/vespa-engine/vespa/comments{/number}","issue_comment_url":"https://api.github.com/repos/vespa-engine/vespa/issues/comments{/number}","contents_url":"https://api.github.com/repos/vespa-engine/vespa/contents/{+path}","compare_url":"https://api.github.com/repos/vespa-engine/vespa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vespa-engine/vespa/merges","archive_url":"https://api.github.com/repos/vespa-engine/vespa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vespa-engine/vespa/downloads","issues_url":"https://api.github.com/repos/vespa-engine/vespa/issues{/number}","pulls_url":"https://api.github.com/repos/vespa-engine/vespa/pulls{/number}","milestones_url":"https://api.github.com/repos/vespa-engine/vespa/milestones{/number}","notifications_url":"https://api.github.com/repos/vespa-engine/vespa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vespa-engine/vespa/labels{/name}","releases_url":"https://api.github.com/repos/vespa-engine/vespa/releases{/id}","deployments_url":"https://api.github.com/repos/vespa-engine/vespa/deployments","created_at":"2016-06-03T20:54:20Z","updated_at":"2017-10-05T14:10:29Z","pushed_at":"2017-10-05T14:42:10Z","git_url":"git://github.com/vespa-engine/vespa.git","ssh_url":"git@github.com:vespa-engine/vespa.git","clone_url":"https://github.com/vespa-engine/vespa.git","svn_url":"https://github.com/vespa-engine/vespa","homepage":"http://vespa.ai/","size":51611,"stargazers_count":2055,"watchers_count":2055,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":214,"mirror_url":null,"open_issues_count":31,"forks":214,"open_issues":31,"watchers":2055,"default_branch":"master"}},"base":{"label":"vespa-engine:master","ref":"master","sha":"cf86d459aa9d3d136fd7b4d5de91429165b9a8c3","user":{"login":"vespa-engine","id":29299694,"avatar_url":"https://avatars1.githubusercontent.com/u/29299694?v=4","gravatar_id":"","url":"https://api.github.com/users/vespa-engine","html_url":"https://github.com/vespa-engine","followers_url":"https://api.github.com/users/vespa-engine/followers","following_url":"https://api.github.com/users/vespa-engine/following{/other_user}","gists_url":"https://api.github.com/users/vespa-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/vespa-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vespa-engine/subscriptions","organizations_url":"https://api.github.com/users/vespa-engine/orgs","repos_url":"https://api.github.com/users/vespa-engine/repos","events_url":"https://api.github.com/users/vespa-engine/events{/privacy}","received_events_url":"https://api.github.com/users/vespa-engine/received_events","type":"Organization","site_admin":false},"repo":{"id":60377070,"name":"vespa","full_name":"vespa-engine/vespa","owner":{"login":"vespa-engine","id":29299694,"avatar_url":"https://avatars1.githubusercontent.com/u/29299694?v=4","gravatar_id":"","url":"https://api.github.com/users/vespa-engine","html_url":"https://github.com/vespa-engine","followers_url":"https://api.github.com/users/vespa-engine/followers","following_url":"https://api.github.com/users/vespa-engine/following{/other_user}","gists_url":"https://api.github.com/users/vespa-engine/gists{/gist_id}","starred_url":"https://api.github.com/users/vespa-engine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vespa-engine/subscriptions","organizations_url":"https://api.github.com/users/vespa-engine/orgs","repos_url":"https://api.github.com/users/vespa-engine/repos","events_url":"https://api.github.com/users/vespa-engine/events{/privacy}","received_events_url":"https://api.github.com/users/vespa-engine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vespa-engine/vespa","description":"Vespa - the open big data serving engine","fork":false,"url":"https://api.github.com/repos/vespa-engine/vespa","forks_url":"https://api.github.com/repos/vespa-engine/vespa/forks","keys_url":"https://api.github.com/repos/vespa-engine/vespa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vespa-engine/vespa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vespa-engine/vespa/teams","hooks_url":"https://api.github.com/repos/vespa-engine/vespa/hooks","issue_events_url":"https://api.github.com/repos/vespa-engine/vespa/issues/events{/number}","events_url":"https://api.github.com/repos/vespa-engine/vespa/events","assignees_url":"https://api.github.com/repos/vespa-engine/vespa/assignees{/user}","branches_url":"https://api.github.com/repos/vespa-engine/vespa/branches{/branch}","tags_url":"https://api.github.com/repos/vespa-engine/vespa/tags","blobs_url":"https://api.github.com/repos/vespa-engine/vespa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vespa-engine/vespa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vespa-engine/vespa/git/refs{/sha}","trees_url":"https://api.github.com/repos/vespa-engine/vespa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vespa-engine/vespa/statuses/{sha}","languages_url":"https://api.github.com/repos/vespa-engine/vespa/languages","stargazers_url":"https://api.github.com/repos/vespa-engine/vespa/stargazers","contributors_url":"https://api.github.com/repos/vespa-engine/vespa/contributors","subscribers_url":"https://api.github.com/repos/vespa-engine/vespa/subscribers","subscription_url":"https://api.github.com/repos/vespa-engine/vespa/subscription","commits_url":"https://api.github.com/repos/vespa-engine/vespa/commits{/sha}","git_commits_url":"https://api.github.com/repos/vespa-engine/vespa/git/commits{/sha}","comments_url":"https://api.github.com/repos/vespa-engine/vespa/comments{/number}","issue_comment_url":"https://api.github.com/repos/vespa-engine/vespa/issues/comments{/number}","contents_url":"https://api.github.com/repos/vespa-engine/vespa/contents/{+path}","compare_url":"https://api.github.com/repos/vespa-engine/vespa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vespa-engine/vespa/merges","archive_url":"https://api.github.com/repos/vespa-engine/vespa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vespa-engine/vespa/downloads","issues_url":"https://api.github.com/repos/vespa-engine/vespa/issues{/number}","pulls_url":"https://api.github.com/repos/vespa-engine/vespa/pulls{/number}","milestones_url":"https://api.github.com/repos/vespa-engine/vespa/milestones{/number}","notifications_url":"https://api.github.com/repos/vespa-engine/vespa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vespa-engine/vespa/labels{/name}","releases_url":"https://api.github.com/repos/vespa-engine/vespa/releases{/id}","deployments_url":"https://api.github.com/repos/vespa-engine/vespa/deployments","created_at":"2016-06-03T20:54:20Z","updated_at":"2017-10-05T14:10:29Z","pushed_at":"2017-10-05T14:42:10Z","git_url":"git://github.com/vespa-engine/vespa.git","ssh_url":"git@github.com:vespa-engine/vespa.git","clone_url":"https://github.com/vespa-engine/vespa.git","svn_url":"https://github.com/vespa-engine/vespa","homepage":"http://vespa.ai/","size":51611,"stargazers_count":2055,"watchers_count":2055,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":214,"mirror_url":null,"open_issues_count":31,"forks":214,"open_issues":31,"watchers":2055,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vespa-engine/vespa/pulls/3660"},"html":{"href":"https://github.com/vespa-engine/vespa/pull/3660"},"issue":{"href":"https://api.github.com/repos/vespa-engine/vespa/issues/3660"},"comments":{"href":"https://api.github.com/repos/vespa-engine/vespa/issues/3660/comments"},"review_comments":{"href":"https://api.github.com/repos/vespa-engine/vespa/pulls/3660/comments"},"review_comment":{"href":"https://api.github.com/repos/vespa-engine/vespa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vespa-engine/vespa/pulls/3660/commits"},"statuses":{"href":"https://api.github.com/repos/vespa-engine/vespa/statuses/24670c5ccf0d5287c2ef6d3d7b70e3de014d4003"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"vekterli","id":16582643,"avatar_url":"https://avatars1.githubusercontent.com/u/16582643?v=4","gravatar_id":"","url":"https://api.github.com/users/vekterli","html_url":"https://github.com/vekterli","followers_url":"https://api.github.com/users/vekterli/followers","following_url":"https://api.github.com/users/vekterli/following{/other_user}","gists_url":"https://api.github.com/users/vekterli/gists{/gist_id}","starred_url":"https://api.github.com/users/vekterli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vekterli/subscriptions","organizations_url":"https://api.github.com/users/vekterli/orgs","repos_url":"https://api.github.com/users/vekterli/repos","events_url":"https://api.github.com/users/vekterli/events{/privacy}","received_events_url":"https://api.github.com/users/vekterli/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":18,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"vekterli"}}