{"action":"created","issue":{"url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8225","repository_url":"https://api.github.com/repos/mattermost/mattermost-server","labels_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8225/labels{/name}","comments_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8225/comments","events_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8225/events","html_url":"https://github.com/mattermost/mattermost-server/pull/8225","id":295559399,"number":8225,"title":"PLT-8723: Fix DeadLock on reactions insertions","user":{"login":"jespino","id":290303,"avatar_url":"https://avatars0.githubusercontent.com/u/290303?v=4","gravatar_id":"","url":"https://api.github.com/users/jespino","html_url":"https://github.com/jespino","followers_url":"https://api.github.com/users/jespino/followers","following_url":"https://api.github.com/users/jespino/following{/other_user}","gists_url":"https://api.github.com/users/jespino/gists{/gist_id}","starred_url":"https://api.github.com/users/jespino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jespino/subscriptions","organizations_url":"https://api.github.com/users/jespino/orgs","repos_url":"https://api.github.com/users/jespino/repos","events_url":"https://api.github.com/users/jespino/events{/privacy}","received_events_url":"https://api.github.com/users/jespino/received_events","type":"User","site_admin":false},"labels":[{"id":250214574,"url":"https://api.github.com/repos/mattermost/mattermost-server/labels/2:%20Dev%20Review","name":"2: Dev Review","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-08T15:41:13Z","updated_at":"2018-02-14T14:08:11Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/8225","html_url":"https://github.com/mattermost/mattermost-server/pull/8225","diff_url":"https://github.com/mattermost/mattermost-server/pull/8225.diff","patch_url":"https://github.com/mattermost/mattermost-server/pull/8225.patch"},"body":"#### Summary\r\nFix the DeadLock on reactions insertions (it only happens when a lot or reactions and posts are created in parallel with sampledata command). It fix the DeadLock for insertion, but there still the posibility of the DeadLock on deletion.\r\n\r\nThis solve the problem of parallel workers inserting data with sampledata or bulk_import into mysql with reactions.\r\n\r\nAnd maybe it can go into the release.\r\n\r\n#### Ticket Link\r\n[PLT-8723](https://mattermost.atlassian.net/browse/PLT-8723)\r\n\r\n#### Checklist\r\n- [ ] Added or updated unit tests (required for all new features)\r\n- [ ] Added API documentation (required for all new APIs)\r\n- [ ] All new/modified APIs include changes to the drivers\r\n- [ ] Has enterprise changes (please link)\r\n- [ ] Has UI changes\r\n- [ ] Includes text changes and localization file ([.../i18n/en.json](https://github.com/mattermost/mattermost-server/blob/master/i18n/en.json) updates\r\n- [ ] Touches critical sections of the codebase (auth, upgrade, etc.)"},"comment":{"url":"https://api.github.com/repos/mattermost/mattermost-server/issues/comments/365617419","html_url":"https://github.com/mattermost/mattermost-server/pull/8225#issuecomment-365617419","issue_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8225","id":365617419,"user":{"login":"jespino","id":290303,"avatar_url":"https://avatars0.githubusercontent.com/u/290303?v=4","gravatar_id":"","url":"https://api.github.com/users/jespino","html_url":"https://github.com/jespino","followers_url":"https://api.github.com/users/jespino/followers","following_url":"https://api.github.com/users/jespino/following{/other_user}","gists_url":"https://api.github.com/users/jespino/gists{/gist_id}","starred_url":"https://api.github.com/users/jespino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jespino/subscriptions","organizations_url":"https://api.github.com/users/jespino/orgs","repos_url":"https://api.github.com/users/jespino/repos","events_url":"https://api.github.com/users/jespino/events{/privacy}","received_events_url":"https://api.github.com/users/jespino/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T14:08:10Z","updated_at":"2018-02-14T14:08:10Z","author_association":"CONTRIBUTOR","body":"Rebased and waiting for @crspeller answers."}}
{"actor":{"display_login":"jespino"}}