{"action":"closed","number":4098,"pull_request":{"url":"https://api.github.com/repos/dCache/dcache/pulls/4098","id":207977351,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3OTc3MzUx","html_url":"https://github.com/dCache/dcache/pull/4098","diff_url":"https://github.com/dCache/dcache/pull/4098.diff","patch_url":"https://github.com/dCache/dcache/pull/4098.patch","issue_url":"https://api.github.com/repos/dCache/dcache/issues/4098","number":4098,"state":"closed","locked":false,"title":"dcache-history: handle Gson syntax errors explicitly","user":{"login":"alrossi","id":3985564,"node_id":"MDQ6VXNlcjM5ODU1NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3985564?v=4","gravatar_id":"","url":"https://api.github.com/users/alrossi","html_url":"https://github.com/alrossi","followers_url":"https://api.github.com/users/alrossi/followers","following_url":"https://api.github.com/users/alrossi/following{/other_user}","gists_url":"https://api.github.com/users/alrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/alrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alrossi/subscriptions","organizations_url":"https://api.github.com/users/alrossi/orgs","repos_url":"https://api.github.com/users/alrossi/repos","events_url":"https://api.github.com/users/alrossi/events{/privacy}","received_events_url":"https://api.github.com/users/alrossi/received_events","type":"User","site_admin":false},"body":"Motivation:\r\n\r\nSince the history service is not transactional, network\r\nhiccups can cause JSON file corruption.  If the service\r\ncontains corrupt or incomplete files in the\r\npool-history directory, it will fail to (re)start.\r\n\r\nModification:\r\n\r\nHandle the JsonParseExceptions, which extend RuntimeException\r\n(not IOException), explicitly.  When these occur,\r\nalso delete the file and map an empty placeholder info\r\nobject until the next refresh pass reconstructs the file.\r\n\r\nResult:\r\n\r\nShould no longer experience restart failures, such as the\r\none given in Testing.\r\n\r\nTarget: master\r\nRequest: 4.2\r\nRequest: 4.1\r\nRequest: 4.0\r\nRequest: 3.2\r\nBug: #4084\r\nAcked-by: Tigran","created_at":"2018-08-13T13:27:17Z","updated_at":"2018-08-14T13:11:03Z","closed_at":"2018-08-14T13:11:03Z","merged_at":"2018-08-14T13:11:03Z","merge_commit_sha":"d30f49b7759b08cfe47ef07d6f8c867b0f5168c8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dCache/dcache/pulls/4098/commits","review_comments_url":"https://api.github.com/repos/dCache/dcache/pulls/4098/comments","review_comment_url":"https://api.github.com/repos/dCache/dcache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dCache/dcache/issues/4098/comments","statuses_url":"https://api.github.com/repos/dCache/dcache/statuses/d56f0715a1c8552268d7ade604e29a70ea089971","head":{"label":"alrossi:fix/4.1/handle-gson-syntax-errors","ref":"fix/4.1/handle-gson-syntax-errors","sha":"d56f0715a1c8552268d7ade604e29a70ea089971","user":{"login":"alrossi","id":3985564,"node_id":"MDQ6VXNlcjM5ODU1NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3985564?v=4","gravatar_id":"","url":"https://api.github.com/users/alrossi","html_url":"https://github.com/alrossi","followers_url":"https://api.github.com/users/alrossi/followers","following_url":"https://api.github.com/users/alrossi/following{/other_user}","gists_url":"https://api.github.com/users/alrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/alrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alrossi/subscriptions","organizations_url":"https://api.github.com/users/alrossi/orgs","repos_url":"https://api.github.com/users/alrossi/repos","events_url":"https://api.github.com/users/alrossi/events{/privacy}","received_events_url":"https://api.github.com/users/alrossi/received_events","type":"User","site_admin":false},"repo":{"id":9675694,"node_id":"MDEwOlJlcG9zaXRvcnk5Njc1Njk0","name":"dcache-server","full_name":"alrossi/dcache-server","owner":{"login":"alrossi","id":3985564,"node_id":"MDQ6VXNlcjM5ODU1NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3985564?v=4","gravatar_id":"","url":"https://api.github.com/users/alrossi","html_url":"https://github.com/alrossi","followers_url":"https://api.github.com/users/alrossi/followers","following_url":"https://api.github.com/users/alrossi/following{/other_user}","gists_url":"https://api.github.com/users/alrossi/gists{/gist_id}","starred_url":"https://api.github.com/users/alrossi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alrossi/subscriptions","organizations_url":"https://api.github.com/users/alrossi/orgs","repos_url":"https://api.github.com/users/alrossi/repos","events_url":"https://api.github.com/users/alrossi/events{/privacy}","received_events_url":"https://api.github.com/users/alrossi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alrossi/dcache-server","description":"dCache source code","fork":true,"url":"https://api.github.com/repos/alrossi/dcache-server","forks_url":"https://api.github.com/repos/alrossi/dcache-server/forks","keys_url":"https://api.github.com/repos/alrossi/dcache-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alrossi/dcache-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alrossi/dcache-server/teams","hooks_url":"https://api.github.com/repos/alrossi/dcache-server/hooks","issue_events_url":"https://api.github.com/repos/alrossi/dcache-server/issues/events{/number}","events_url":"https://api.github.com/repos/alrossi/dcache-server/events","assignees_url":"https://api.github.com/repos/alrossi/dcache-server/assignees{/user}","branches_url":"https://api.github.com/repos/alrossi/dcache-server/branches{/branch}","tags_url":"https://api.github.com/repos/alrossi/dcache-server/tags","blobs_url":"https://api.github.com/repos/alrossi/dcache-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alrossi/dcache-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alrossi/dcache-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/alrossi/dcache-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alrossi/dcache-server/statuses/{sha}","languages_url":"https://api.github.com/repos/alrossi/dcache-server/languages","stargazers_url":"https://api.github.com/repos/alrossi/dcache-server/stargazers","contributors_url":"https://api.github.com/repos/alrossi/dcache-server/contributors","subscribers_url":"https://api.github.com/repos/alrossi/dcache-server/subscribers","subscription_url":"https://api.github.com/repos/alrossi/dcache-server/subscription","commits_url":"https://api.github.com/repos/alrossi/dcache-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/alrossi/dcache-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/alrossi/dcache-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/alrossi/dcache-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/alrossi/dcache-server/contents/{+path}","compare_url":"https://api.github.com/repos/alrossi/dcache-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alrossi/dcache-server/merges","archive_url":"https://api.github.com/repos/alrossi/dcache-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alrossi/dcache-server/downloads","issues_url":"https://api.github.com/repos/alrossi/dcache-server/issues{/number}","pulls_url":"https://api.github.com/repos/alrossi/dcache-server/pulls{/number}","milestones_url":"https://api.github.com/repos/alrossi/dcache-server/milestones{/number}","notifications_url":"https://api.github.com/repos/alrossi/dcache-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alrossi/dcache-server/labels{/name}","releases_url":"https://api.github.com/repos/alrossi/dcache-server/releases{/id}","deployments_url":"https://api.github.com/repos/alrossi/dcache-server/deployments","created_at":"2013-04-25T16:02:34Z","updated_at":"2018-08-13T16:24:25Z","pushed_at":"2018-08-13T16:25:43Z","git_url":"git://github.com/alrossi/dcache-server.git","ssh_url":"git@github.com:alrossi/dcache-server.git","clone_url":"https://github.com/alrossi/dcache-server.git","svn_url":"https://github.com/alrossi/dcache-server","homepage":null,"size":358406,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dCache:4.1","ref":"4.1","sha":"8a629cf44ad78f0144df424b54c8a7b3c55b94fb","user":{"login":"dCache","id":1384620,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQ2MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1384620?v=4","gravatar_id":"","url":"https://api.github.com/users/dCache","html_url":"https://github.com/dCache","followers_url":"https://api.github.com/users/dCache/followers","following_url":"https://api.github.com/users/dCache/following{/other_user}","gists_url":"https://api.github.com/users/dCache/gists{/gist_id}","starred_url":"https://api.github.com/users/dCache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dCache/subscriptions","organizations_url":"https://api.github.com/users/dCache/orgs","repos_url":"https://api.github.com/users/dCache/repos","events_url":"https://api.github.com/users/dCache/events{/privacy}","received_events_url":"https://api.github.com/users/dCache/received_events","type":"Organization","site_admin":false},"repo":{"id":9113580,"node_id":"MDEwOlJlcG9zaXRvcnk5MTEzNTgw","name":"dcache","full_name":"dCache/dcache","owner":{"login":"dCache","id":1384620,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzODQ2MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1384620?v=4","gravatar_id":"","url":"https://api.github.com/users/dCache","html_url":"https://github.com/dCache","followers_url":"https://api.github.com/users/dCache/followers","following_url":"https://api.github.com/users/dCache/following{/other_user}","gists_url":"https://api.github.com/users/dCache/gists{/gist_id}","starred_url":"https://api.github.com/users/dCache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dCache/subscriptions","organizations_url":"https://api.github.com/users/dCache/orgs","repos_url":"https://api.github.com/users/dCache/repos","events_url":"https://api.github.com/users/dCache/events{/privacy}","received_events_url":"https://api.github.com/users/dCache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dCache/dcache","description":"dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods","fork":false,"url":"https://api.github.com/repos/dCache/dcache","forks_url":"https://api.github.com/repos/dCache/dcache/forks","keys_url":"https://api.github.com/repos/dCache/dcache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dCache/dcache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dCache/dcache/teams","hooks_url":"https://api.github.com/repos/dCache/dcache/hooks","issue_events_url":"https://api.github.com/repos/dCache/dcache/issues/events{/number}","events_url":"https://api.github.com/repos/dCache/dcache/events","assignees_url":"https://api.github.com/repos/dCache/dcache/assignees{/user}","branches_url":"https://api.github.com/repos/dCache/dcache/branches{/branch}","tags_url":"https://api.github.com/repos/dCache/dcache/tags","blobs_url":"https://api.github.com/repos/dCache/dcache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dCache/dcache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dCache/dcache/git/refs{/sha}","trees_url":"https://api.github.com/repos/dCache/dcache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dCache/dcache/statuses/{sha}","languages_url":"https://api.github.com/repos/dCache/dcache/languages","stargazers_url":"https://api.github.com/repos/dCache/dcache/stargazers","contributors_url":"https://api.github.com/repos/dCache/dcache/contributors","subscribers_url":"https://api.github.com/repos/dCache/dcache/subscribers","subscription_url":"https://api.github.com/repos/dCache/dcache/subscription","commits_url":"https://api.github.com/repos/dCache/dcache/commits{/sha}","git_commits_url":"https://api.github.com/repos/dCache/dcache/git/commits{/sha}","comments_url":"https://api.github.com/repos/dCache/dcache/comments{/number}","issue_comment_url":"https://api.github.com/repos/dCache/dcache/issues/comments{/number}","contents_url":"https://api.github.com/repos/dCache/dcache/contents/{+path}","compare_url":"https://api.github.com/repos/dCache/dcache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dCache/dcache/merges","archive_url":"https://api.github.com/repos/dCache/dcache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dCache/dcache/downloads","issues_url":"https://api.github.com/repos/dCache/dcache/issues{/number}","pulls_url":"https://api.github.com/repos/dCache/dcache/pulls{/number}","milestones_url":"https://api.github.com/repos/dCache/dcache/milestones{/number}","notifications_url":"https://api.github.com/repos/dCache/dcache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dCache/dcache/labels{/name}","releases_url":"https://api.github.com/repos/dCache/dcache/releases{/id}","deployments_url":"https://api.github.com/repos/dCache/dcache/deployments","created_at":"2013-03-30T08:58:49Z","updated_at":"2018-08-14T10:17:07Z","pushed_at":"2018-08-14T13:11:03Z","git_url":"git://github.com/dCache/dcache.git","ssh_url":"git@github.com:dCache/dcache.git","clone_url":"https://github.com/dCache/dcache.git","svn_url":"https://github.com/dCache/dcache","homepage":"http://www.dcache.org","size":368413,"stargazers_count":86,"watchers_count":86,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"archived":false,"open_issues_count":144,"license":null,"forks":70,"open_issues":144,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dCache/dcache/pulls/4098"},"html":{"href":"https://github.com/dCache/dcache/pull/4098"},"issue":{"href":"https://api.github.com/repos/dCache/dcache/issues/4098"},"comments":{"href":"https://api.github.com/repos/dCache/dcache/issues/4098/comments"},"review_comments":{"href":"https://api.github.com/repos/dCache/dcache/pulls/4098/comments"},"review_comment":{"href":"https://api.github.com/repos/dCache/dcache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dCache/dcache/pulls/4098/commits"},"statuses":{"href":"https://api.github.com/repos/dCache/dcache/statuses/d56f0715a1c8552268d7ade604e29a70ea089971"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jstarek","id":1275700,"node_id":"MDQ6VXNlcjEyNzU3MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1275700?v=4","gravatar_id":"","url":"https://api.github.com/users/jstarek","html_url":"https://github.com/jstarek","followers_url":"https://api.github.com/users/jstarek/followers","following_url":"https://api.github.com/users/jstarek/following{/other_user}","gists_url":"https://api.github.com/users/jstarek/gists{/gist_id}","starred_url":"https://api.github.com/users/jstarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstarek/subscriptions","organizations_url":"https://api.github.com/users/jstarek/orgs","repos_url":"https://api.github.com/users/jstarek/repos","events_url":"https://api.github.com/users/jstarek/events{/privacy}","received_events_url":"https://api.github.com/users/jstarek/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":19,"deletions":8,"changed_files":1}}
{"actor":{"display_login":"jstarek"}}