{"action":"opened","number":1484,"pull_request":{"url":"https://api.github.com/repos/dCache/dcache/pulls/1484","id":34075035,"html_url":"https://github.com/dCache/dcache/pull/1484","diff_url":"https://github.com/dCache/dcache/pull/1484.diff","patch_url":"https://github.com/dCache/dcache/pull/1484.patch","issue_url":"https://api.github.com/repos/dCache/dcache/issues/1484","number":1484,"state":"open","locked":false,"title":"srm: Fix loading of jobs during restart","user":{"login":"gbehrmann","id":1125766,"avatar_url":"https://avatars.githubusercontent.com/u/1125766?v=3","gravatar_id":"","url":"https://api.github.com/users/gbehrmann","html_url":"https://github.com/gbehrmann","followers_url":"https://api.github.com/users/gbehrmann/followers","following_url":"https://api.github.com/users/gbehrmann/following{/other_user}","gists_url":"https://api.github.com/users/gbehrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/gbehrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbehrmann/subscriptions","organizations_url":"https://api.github.com/users/gbehrmann/orgs","repos_url":"https://api.github.com/users/gbehrmann/repos","events_url":"https://api.github.com/users/gbehrmann/events{/privacy}","received_events_url":"https://api.github.com/users/gbehrmann/received_events","type":"User","site_admin":false},"body":"In 2.12 we changed the semantics of\nsrm.persistence.enable.store-transient-state.  As a consequence,\nFinalStateOnlyJobStorageDecorator may store jobs in non-final states if the\nupdate is forced. Thus the implementation of getActiveJobs() is wrong, since\nthere may be non-final jobs in the database. The observable symptom was that\nwith our default configuration, jobs would not be loaded back after a restart.\n\nTarget: trunk\nRequire-notes: yes\nRequire-book: no\nRequest: 2.12\nAcked-by: Paul Millar <paul.millar@desy.de>\nPatch: https://rb.dcache.org/r/8154/\n(cherry picked from commit f9e32e5cb433b2175b8659374fd8d7ab53d9367b)","created_at":"2015-04-24T18:43:12Z","updated_at":"2015-04-24T18:43:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dCache/dcache/pulls/1484/commits","review_comments_url":"https://api.github.com/repos/dCache/dcache/pulls/1484/comments","review_comment_url":"https://api.github.com/repos/dCache/dcache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dCache/dcache/issues/1484/comments","statuses_url":"https://api.github.com/repos/dCache/dcache/statuses/361040a6637cbaee21165d7e6560ad258c144b16","head":{"label":"gbehrmann:fix/2.12/rb8154","ref":"fix/2.12/rb8154","sha":"361040a6637cbaee21165d7e6560ad258c144b16","user":{"login":"gbehrmann","id":1125766,"avatar_url":"https://avatars.githubusercontent.com/u/1125766?v=3","gravatar_id":"","url":"https://api.github.com/users/gbehrmann","html_url":"https://github.com/gbehrmann","followers_url":"https://api.github.com/users/gbehrmann/followers","following_url":"https://api.github.com/users/gbehrmann/following{/other_user}","gists_url":"https://api.github.com/users/gbehrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/gbehrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbehrmann/subscriptions","organizations_url":"https://api.github.com/users/gbehrmann/orgs","repos_url":"https://api.github.com/users/gbehrmann/repos","events_url":"https://api.github.com/users/gbehrmann/events{/privacy}","received_events_url":"https://api.github.com/users/gbehrmann/received_events","type":"User","site_admin":false},"repo":{"id":9749748,"name":"dcache","full_name":"gbehrmann/dcache","owner":{"login":"gbehrmann","id":1125766,"avatar_url":"https://avatars.githubusercontent.com/u/1125766?v=3","gravatar_id":"","url":"https://api.github.com/users/gbehrmann","html_url":"https://github.com/gbehrmann","followers_url":"https://api.github.com/users/gbehrmann/followers","following_url":"https://api.github.com/users/gbehrmann/following{/other_user}","gists_url":"https://api.github.com/users/gbehrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/gbehrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbehrmann/subscriptions","organizations_url":"https://api.github.com/users/gbehrmann/orgs","repos_url":"https://api.github.com/users/gbehrmann/repos","events_url":"https://api.github.com/users/gbehrmann/events{/privacy}","received_events_url":"https://api.github.com/users/gbehrmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gbehrmann/dcache","description":"dCache source code","fork":true,"url":"https://api.github.com/repos/gbehrmann/dcache","forks_url":"https://api.github.com/repos/gbehrmann/dcache/forks","keys_url":"https://api.github.com/repos/gbehrmann/dcache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gbehrmann/dcache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gbehrmann/dcache/teams","hooks_url":"https://api.github.com/repos/gbehrmann/dcache/hooks","issue_events_url":"https://api.github.com/repos/gbehrmann/dcache/issues/events{/number}","events_url":"https://api.github.com/repos/gbehrmann/dcache/events","assignees_url":"https://api.github.com/repos/gbehrmann/dcache/assignees{/user}","branches_url":"https://api.github.com/repos/gbehrmann/dcache/branches{/branch}","tags_url":"https://api.github.com/repos/gbehrmann/dcache/tags","blobs_url":"https://api.github.com/repos/gbehrmann/dcache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gbehrmann/dcache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gbehrmann/dcache/git/refs{/sha}","trees_url":"https://api.github.com/repos/gbehrmann/dcache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gbehrmann/dcache/statuses/{sha}","languages_url":"https://api.github.com/repos/gbehrmann/dcache/languages","stargazers_url":"https://api.github.com/repos/gbehrmann/dcache/stargazers","contributors_url":"https://api.github.com/repos/gbehrmann/dcache/contributors","subscribers_url":"https://api.github.com/repos/gbehrmann/dcache/subscribers","subscription_url":"https://api.github.com/repos/gbehrmann/dcache/subscription","commits_url":"https://api.github.com/repos/gbehrmann/dcache/commits{/sha}","git_commits_url":"https://api.github.com/repos/gbehrmann/dcache/git/commits{/sha}","comments_url":"https://api.github.com/repos/gbehrmann/dcache/comments{/number}","issue_comment_url":"https://api.github.com/repos/gbehrmann/dcache/issues/comments{/number}","contents_url":"https://api.github.com/repos/gbehrmann/dcache/contents/{+path}","compare_url":"https://api.github.com/repos/gbehrmann/dcache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gbehrmann/dcache/merges","archive_url":"https://api.github.com/repos/gbehrmann/dcache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gbehrmann/dcache/downloads","issues_url":"https://api.github.com/repos/gbehrmann/dcache/issues{/number}","pulls_url":"https://api.github.com/repos/gbehrmann/dcache/pulls{/number}","milestones_url":"https://api.github.com/repos/gbehrmann/dcache/milestones{/number}","notifications_url":"https://api.github.com/repos/gbehrmann/dcache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gbehrmann/dcache/labels{/name}","releases_url":"https://api.github.com/repos/gbehrmann/dcache/releases{/id}","created_at":"2013-04-29T14:20:03Z","updated_at":"2015-03-12T11:38:38Z","pushed_at":"2015-04-24T18:43:10Z","git_url":"git://github.com/gbehrmann/dcache.git","ssh_url":"git@github.com:gbehrmann/dcache.git","clone_url":"https://github.com/gbehrmann/dcache.git","svn_url":"https://github.com/gbehrmann/dcache","homepage":null,"size":339711,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"dCache:2.12","ref":"2.12","sha":"e1443679615a107cbb76bb1fabe8da12b061d0bc","user":{"login":"dCache","id":1384620,"avatar_url":"https://avatars.githubusercontent.com/u/1384620?v=3","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,"name":"dcache","full_name":"dCache/dcache","owner":{"login":"dCache","id":1384620,"avatar_url":"https://avatars.githubusercontent.com/u/1384620?v=3","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}","created_at":"2013-03-30T08:58:49Z","updated_at":"2015-04-24T18:42:46Z","pushed_at":"2015-04-24T18:42:46Z","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":466687,"stargazers_count":20,"watchers_count":20,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":14,"forks":18,"open_issues":14,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dCache/dcache/pulls/1484"},"html":{"href":"https://github.com/dCache/dcache/pull/1484"},"issue":{"href":"https://api.github.com/repos/dCache/dcache/issues/1484"},"comments":{"href":"https://api.github.com/repos/dCache/dcache/issues/1484/comments"},"review_comments":{"href":"https://api.github.com/repos/dCache/dcache/pulls/1484/comments"},"review_comment":{"href":"https://api.github.com/repos/dCache/dcache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dCache/dcache/pulls/1484/commits"},"statuses":{"href":"https://api.github.com/repos/dCache/dcache/statuses/361040a6637cbaee21165d7e6560ad258c144b16"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":2,"changed_files":1}}