{"action":"opened","issue":{"url":"https://api.github.com/repos/wix/wix-embedded-mysql/issues/26","labels_url":"https://api.github.com/repos/wix/wix-embedded-mysql/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/wix/wix-embedded-mysql/issues/26/comments","events_url":"https://api.github.com/repos/wix/wix-embedded-mysql/issues/26/events","html_url":"https://github.com/wix/wix-embedded-mysql/issues/26","id":104840400,"number":26,"title":"downloader starts multiple downloads for parallel test execution","user":{"login":"viliusl","id":871778,"avatar_url":"https://avatars.githubusercontent.com/u/871778?v=3","gravatar_id":"","url":"https://api.github.com/users/viliusl","html_url":"https://github.com/viliusl","followers_url":"https://api.github.com/users/viliusl/followers","following_url":"https://api.github.com/users/viliusl/following{/other_user}","gists_url":"https://api.github.com/users/viliusl/gists{/gist_id}","starred_url":"https://api.github.com/users/viliusl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viliusl/subscriptions","organizations_url":"https://api.github.com/users/viliusl/orgs","repos_url":"https://api.github.com/users/viliusl/repos","events_url":"https://api.github.com/users/viliusl/events{/privacy}","received_events_url":"https://api.github.com/users/viliusl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-04T07:07:42Z","updated_at":"2015-09-04T07:07:42Z","closed_at":null,"body":"Given tests run in parallel and required mysqld package is not yet cached, multiple downloads are started. This gives multiple issues:\r\n - suboptimal performance;\r\n - possible concurrency issues given files are downloaded at the same time.\r\n\r\nI suppose it is possible to have some locking mechanism in a single-process set-up, but it needs to be investigated. Also this is issue of flapdoodle oss library, so supposedly fix should land there.\r\n\r\n"}}