{"action":"closed","number":2279,"pull_request":{"url":"https://api.github.com/repos/dCache/dcache/pulls/2279","id":63540114,"html_url":"https://github.com/dCache/dcache/pull/2279","diff_url":"https://github.com/dCache/dcache/pull/2279.diff","patch_url":"https://github.com/dCache/dcache/pull/2279.patch","issue_url":"https://api.github.com/repos/dCache/dcache/issues/2279","number":2279,"state":"closed","locked":false,"title":"pool: handle duplicated start mover requests","user":{"login":"kofemann","id":575965,"avatar_url":"https://avatars.githubusercontent.com/u/575965?v=3","gravatar_id":"","url":"https://api.github.com/users/kofemann","html_url":"https://github.com/kofemann","followers_url":"https://api.github.com/users/kofemann/followers","following_url":"https://api.github.com/users/kofemann/following{/other_user}","gists_url":"https://api.github.com/users/kofemann/gists{/gist_id}","starred_url":"https://api.github.com/users/kofemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kofemann/subscriptions","organizations_url":"https://api.github.com/users/kofemann/orgs","repos_url":"https://api.github.com/users/kofemann/repos","events_url":"https://api.github.com/users/kofemann/events{/privacy}","received_events_url":"https://api.github.com/users/kofemann/received_events","type":"User","site_admin":false},"body":"Motivation:\r\nif mover door did not get reply to start mover request with in a desired\r\ntimeout, then it can send a new requests. This may produce a new mover,\r\nwhich is not what we want. Worse, on write, second request will fail as\r\nan attempt to create a duplicated entry in repository will be rejected.\r\n\r\nModification:\r\nupdate MoverRequestScheduler to accept a supplier, which will create a\r\nnew mover only if required. The mover creation logic is not changed.\r\n\r\nResult:\r\nduplicated write requests do not produce second mover.\r\n\r\nAcked-by: Gerd Behrmann\r\nAcked-by: Paul Millar\r\nTarget: master\r\nRequire-book: no\r\nRequire-notes: no\r\n(cherry picked from commit 1ffd7c3e4a81c3f5368c7dd20c55062fe1a7a1d9)\r\nSigned-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>","created_at":"2016-03-21T09:57:48Z","updated_at":"2016-03-21T17:38:46Z","closed_at":"2016-03-21T17:38:46Z","merged_at":"2016-03-21T17:38:46Z","merge_commit_sha":"7b6cfec1184004925eea49f2dde007ce5bcadd2f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dCache/dcache/pulls/2279/commits","review_comments_url":"https://api.github.com/repos/dCache/dcache/pulls/2279/comments","review_comment_url":"https://api.github.com/repos/dCache/dcache/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dCache/dcache/issues/2279/comments","statuses_url":"https://api.github.com/repos/dCache/dcache/statuses/0f6d8a60a8626daa405b807677f44d42c1546467","head":{"label":"kofemann:handle-duplicate-requests-2.14","ref":"handle-duplicate-requests-2.14","sha":"0f6d8a60a8626daa405b807677f44d42c1546467","user":{"login":"kofemann","id":575965,"avatar_url":"https://avatars.githubusercontent.com/u/575965?v=3","gravatar_id":"","url":"https://api.github.com/users/kofemann","html_url":"https://github.com/kofemann","followers_url":"https://api.github.com/users/kofemann/followers","following_url":"https://api.github.com/users/kofemann/following{/other_user}","gists_url":"https://api.github.com/users/kofemann/gists{/gist_id}","starred_url":"https://api.github.com/users/kofemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kofemann/subscriptions","organizations_url":"https://api.github.com/users/kofemann/orgs","repos_url":"https://api.github.com/users/kofemann/repos","events_url":"https://api.github.com/users/kofemann/events{/privacy}","received_events_url":"https://api.github.com/users/kofemann/received_events","type":"User","site_admin":false},"repo":{"id":9170456,"name":"dcache","full_name":"kofemann/dcache","owner":{"login":"kofemann","id":575965,"avatar_url":"https://avatars.githubusercontent.com/u/575965?v=3","gravatar_id":"","url":"https://api.github.com/users/kofemann","html_url":"https://github.com/kofemann","followers_url":"https://api.github.com/users/kofemann/followers","following_url":"https://api.github.com/users/kofemann/following{/other_user}","gists_url":"https://api.github.com/users/kofemann/gists{/gist_id}","starred_url":"https://api.github.com/users/kofemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kofemann/subscriptions","organizations_url":"https://api.github.com/users/kofemann/orgs","repos_url":"https://api.github.com/users/kofemann/repos","events_url":"https://api.github.com/users/kofemann/events{/privacy}","received_events_url":"https://api.github.com/users/kofemann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kofemann/dcache","description":"dCache source code","fork":true,"url":"https://api.github.com/repos/kofemann/dcache","forks_url":"https://api.github.com/repos/kofemann/dcache/forks","keys_url":"https://api.github.com/repos/kofemann/dcache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kofemann/dcache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kofemann/dcache/teams","hooks_url":"https://api.github.com/repos/kofemann/dcache/hooks","issue_events_url":"https://api.github.com/repos/kofemann/dcache/issues/events{/number}","events_url":"https://api.github.com/repos/kofemann/dcache/events","assignees_url":"https://api.github.com/repos/kofemann/dcache/assignees{/user}","branches_url":"https://api.github.com/repos/kofemann/dcache/branches{/branch}","tags_url":"https://api.github.com/repos/kofemann/dcache/tags","blobs_url":"https://api.github.com/repos/kofemann/dcache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kofemann/dcache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kofemann/dcache/git/refs{/sha}","trees_url":"https://api.github.com/repos/kofemann/dcache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kofemann/dcache/statuses/{sha}","languages_url":"https://api.github.com/repos/kofemann/dcache/languages","stargazers_url":"https://api.github.com/repos/kofemann/dcache/stargazers","contributors_url":"https://api.github.com/repos/kofemann/dcache/contributors","subscribers_url":"https://api.github.com/repos/kofemann/dcache/subscribers","subscription_url":"https://api.github.com/repos/kofemann/dcache/subscription","commits_url":"https://api.github.com/repos/kofemann/dcache/commits{/sha}","git_commits_url":"https://api.github.com/repos/kofemann/dcache/git/commits{/sha}","comments_url":"https://api.github.com/repos/kofemann/dcache/comments{/number}","issue_comment_url":"https://api.github.com/repos/kofemann/dcache/issues/comments{/number}","contents_url":"https://api.github.com/repos/kofemann/dcache/contents/{+path}","compare_url":"https://api.github.com/repos/kofemann/dcache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kofemann/dcache/merges","archive_url":"https://api.github.com/repos/kofemann/dcache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kofemann/dcache/downloads","issues_url":"https://api.github.com/repos/kofemann/dcache/issues{/number}","pulls_url":"https://api.github.com/repos/kofemann/dcache/pulls{/number}","milestones_url":"https://api.github.com/repos/kofemann/dcache/milestones{/number}","notifications_url":"https://api.github.com/repos/kofemann/dcache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kofemann/dcache/labels{/name}","releases_url":"https://api.github.com/repos/kofemann/dcache/releases{/id}","deployments_url":"https://api.github.com/repos/kofemann/dcache/deployments","created_at":"2013-04-02T13:08:46Z","updated_at":"2015-05-04T20:51:30Z","pushed_at":"2016-03-21T11:04:29Z","git_url":"git://github.com/kofemann/dcache.git","ssh_url":"git@github.com:kofemann/dcache.git","clone_url":"https://github.com/kofemann/dcache.git","svn_url":"https://github.com/kofemann/dcache","homepage":null,"size":339002,"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.14","ref":"2.14","sha":"a8d4ca0b3ede5675233697c013bf0eecca0bdfb2","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}","deployments_url":"https://api.github.com/repos/dCache/dcache/deployments","created_at":"2013-03-30T08:58:49Z","updated_at":"2016-03-08T23:14:42Z","pushed_at":"2016-03-21T17:38: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":348019,"stargazers_count":32,"watchers_count":32,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":49,"forks":28,"open_issues":49,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dCache/dcache/pulls/2279"},"html":{"href":"https://github.com/dCache/dcache/pull/2279"},"issue":{"href":"https://api.github.com/repos/dCache/dcache/issues/2279"},"comments":{"href":"https://api.github.com/repos/dCache/dcache/issues/2279/comments"},"review_comments":{"href":"https://api.github.com/repos/dCache/dcache/pulls/2279/comments"},"review_comment":{"href":"https://api.github.com/repos/dCache/dcache/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dCache/dcache/pulls/2279/commits"},"statuses":{"href":"https://api.github.com/repos/dCache/dcache/statuses/0f6d8a60a8626daa405b807677f44d42c1546467"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jstarek","id":1275700,"avatar_url":"https://avatars.githubusercontent.com/u/1275700?v=3","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":0,"review_comments":0,"commits":1,"additions":72,"deletions":63,"changed_files":4}}