{"action":"created","issue":{"url":"https://api.github.com/repos/projecthydra-labs/curation_concerns/issues/795","repository_url":"https://api.github.com/repos/projecthydra-labs/curation_concerns","labels_url":"https://api.github.com/repos/projecthydra-labs/curation_concerns/issues/795/labels{/name}","comments_url":"https://api.github.com/repos/projecthydra-labs/curation_concerns/issues/795/comments","events_url":"https://api.github.com/repos/projecthydra-labs/curation_concerns/issues/795/events","html_url":"https://github.com/projecthydra-labs/curation_concerns/issues/795","id":155314655,"number":795,"title":"Job concurrency","user":{"login":"awead","id":312085,"avatar_url":"https://avatars.githubusercontent.com/u/312085?v=3","gravatar_id":"","url":"https://api.github.com/users/awead","html_url":"https://github.com/awead","followers_url":"https://api.github.com/users/awead/followers","following_url":"https://api.github.com/users/awead/following{/other_user}","gists_url":"https://api.github.com/users/awead/gists{/gist_id}","starred_url":"https://api.github.com/users/awead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awead/subscriptions","organizations_url":"https://api.github.com/users/awead/orgs","repos_url":"https://api.github.com/users/awead/repos","events_url":"https://api.github.com/users/awead/events{/privacy}","received_events_url":"https://api.github.com/users/awead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-05-17T17:19:56Z","updated_at":"2016-05-17T17:37:47Z","closed_at":null,"body":"### Descriptive summary\r\n\r\nSince an original file must be present before characterization can be done, and the current `CharacterizeJob` also calls `CreateDerivativesJob`, there's a concurrency problem.\r\n\r\nShould we make all three jobs run successively with a large superjob?\r\n1. IngestLocalFileJob/IngestFileJob\r\n2. CharacterizeJob\r\n3. CreateDerivativesJob\r\n\r\nOr do we want to explore some kind of locking?\r\n\r\nNote, this was brought up with #793 because it will expose the problem."},"comment":{"url":"https://api.github.com/repos/projecthydra-labs/curation_concerns/issues/comments/219794982","html_url":"https://github.com/projecthydra-labs/curation_concerns/issues/795#issuecomment-219794982","issue_url":"https://api.github.com/repos/projecthydra-labs/curation_concerns/issues/795","id":219794982,"user":{"login":"mjgiarlo","id":131982,"avatar_url":"https://avatars.githubusercontent.com/u/131982?v=3","gravatar_id":"","url":"https://api.github.com/users/mjgiarlo","html_url":"https://github.com/mjgiarlo","followers_url":"https://api.github.com/users/mjgiarlo/followers","following_url":"https://api.github.com/users/mjgiarlo/following{/other_user}","gists_url":"https://api.github.com/users/mjgiarlo/gists{/gist_id}","starred_url":"https://api.github.com/users/mjgiarlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjgiarlo/subscriptions","organizations_url":"https://api.github.com/users/mjgiarlo/orgs","repos_url":"https://api.github.com/users/mjgiarlo/repos","events_url":"https://api.github.com/users/mjgiarlo/events{/privacy}","received_events_url":"https://api.github.com/users/mjgiarlo/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T17:37:47Z","updated_at":"2016-05-17T17:37:47Z","body":"What's the downside of leaving things as they are now and moving invocation of the CharacterizeJob to the IngestFileJob? That's the expedient approach, anyway."}}