{"action":"closed","issue":{"url":"https://api.github.com/repos/moonso/loqusdb/issues/9","repository_url":"https://api.github.com/repos/moonso/loqusdb","labels_url":"https://api.github.com/repos/moonso/loqusdb/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/moonso/loqusdb/issues/9/comments","events_url":"https://api.github.com/repos/moonso/loqusdb/issues/9/events","html_url":"https://github.com/moonso/loqusdb/issues/9","id":155041336,"number":9,"title":"Race condition in load function","user":{"login":"robinandeer","id":1220232,"avatar_url":"https://avatars.githubusercontent.com/u/1220232?v=3","gravatar_id":"","url":"https://api.github.com/users/robinandeer","html_url":"https://github.com/robinandeer","followers_url":"https://api.github.com/users/robinandeer/followers","following_url":"https://api.github.com/users/robinandeer/following{/other_user}","gists_url":"https://api.github.com/users/robinandeer/gists{/gist_id}","starred_url":"https://api.github.com/users/robinandeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinandeer/subscriptions","organizations_url":"https://api.github.com/users/robinandeer/orgs","repos_url":"https://api.github.com/users/robinandeer/repos","events_url":"https://api.github.com/users/robinandeer/events{/privacy}","received_events_url":"https://api.github.com/users/robinandeer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-05-16T14:29:55Z","updated_at":"2016-08-25T11:48:36Z","closed_at":"2016-08-25T11:48:36Z","body":"I think I've found a race condition where the last bulk of variants is an empty list.\r\n\r\nThis causes an exception in pymongo and crashes the script.\r\n\r\nThis is the relevant line where it would be good to add a check if the list is empty\r\nhttps://github.com/moonso/loqusdb/blob/master/loqusdb/utils/load.py#L65\r\n"}}
{"actor":{"display_login":"moonso"}}