{"action":"created","issue":{"url":"https://api.github.com/repos/TestRoots/watchdog/issues/199","labels_url":"https://api.github.com/repos/TestRoots/watchdog/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/TestRoots/watchdog/issues/199/comments","events_url":"https://api.github.com/repos/TestRoots/watchdog/issues/199/events","html_url":"https://github.com/TestRoots/watchdog/issues/199","id":104054781,"number":199,"title":"In silent registrations, project are not registered properly","user":{"login":"levaja","id":5550526,"avatar_url":"https://avatars.githubusercontent.com/u/5550526?v=3","gravatar_id":"","url":"https://api.github.com/users/levaja","html_url":"https://github.com/levaja","followers_url":"https://api.github.com/users/levaja/followers","following_url":"https://api.github.com/users/levaja/following{/other_user}","gists_url":"https://api.github.com/users/levaja/gists{/gist_id}","starred_url":"https://api.github.com/users/levaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levaja/subscriptions","organizations_url":"https://api.github.com/users/levaja/orgs","repos_url":"https://api.github.com/users/levaja/repos","events_url":"https://api.github.com/users/levaja/events{/privacy}","received_events_url":"https://api.github.com/users/levaja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TestRoots/watchdog/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/TestRoots/watchdog/labels/Eclipse","name":"Eclipse","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"levaja","id":5550526,"avatar_url":"https://avatars.githubusercontent.com/u/5550526?v=3","gravatar_id":"","url":"https://api.github.com/users/levaja","html_url":"https://github.com/levaja","followers_url":"https://api.github.com/users/levaja/followers","following_url":"https://api.github.com/users/levaja/following{/other_user}","gists_url":"https://api.github.com/users/levaja/gists{/gist_id}","starred_url":"https://api.github.com/users/levaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levaja/subscriptions","organizations_url":"https://api.github.com/users/levaja/orgs","repos_url":"https://api.github.com/users/levaja/repos","events_url":"https://api.github.com/users/levaja/events{/privacy}","received_events_url":"https://api.github.com/users/levaja/received_events","type":"User","site_admin":false},"milestone":null,"comments":30,"created_at":"2015-08-31T13:34:30Z","updated_at":"2015-11-03T12:28:12Z","closed_at":null,"body":"This resulted in more user than project registrations. I'm not 100% sure what is the issue because I am not able to reproduce it, but some possible points will be addressed in the upcoming commit."},"comment":{"url":"https://api.github.com/repos/TestRoots/watchdog/issues/comments/153337684","html_url":"https://github.com/TestRoots/watchdog/issues/199#issuecomment-153337684","issue_url":"https://api.github.com/repos/TestRoots/watchdog/issues/199","id":153337684,"user":{"login":"levaja","id":5550526,"avatar_url":"https://avatars.githubusercontent.com/u/5550526?v=3","gravatar_id":"","url":"https://api.github.com/users/levaja","html_url":"https://github.com/levaja","followers_url":"https://api.github.com/users/levaja/followers","following_url":"https://api.github.com/users/levaja/following{/other_user}","gists_url":"https://api.github.com/users/levaja/gists{/gist_id}","starred_url":"https://api.github.com/users/levaja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levaja/subscriptions","organizations_url":"https://api.github.com/users/levaja/orgs","repos_url":"https://api.github.com/users/levaja/repos","events_url":"https://api.github.com/users/levaja/events{/privacy}","received_events_url":"https://api.github.com/users/levaja/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T12:28:12Z","updated_at":"2015-11-03T12:28:12Z","body":"Okay, another finding, while I was trying to implement 10-times-retry registration:\r\n\r\nSetup: 1000 threads (and this holds for almost any number of threads larger than 100), try to register user and project id; if it fails they try 10 more times with a random waiting interval between attempts (0-5 seconds).\r\n\r\nResult in database: every time, number of users is around 1350, and number of projects is 1200±100.\r\n\r\nI've checked everything in client side multiple times and finally got to the conclusion that 997 user ids have been received (99.7% successful).  That means that more than 300 user ids have been registered on server, even though there was an exception thrown.\r\n\r\nIt's a bit hard to debug what goes wrong here, because this happens only if we have more than 100 threads."}}