{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/orleans/issues/2393","repository_url":"https://api.github.com/repos/dotnet/orleans","labels_url":"https://api.github.com/repos/dotnet/orleans/issues/2393/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/orleans/issues/2393/comments","events_url":"https://api.github.com/repos/dotnet/orleans/issues/2393/events","html_url":"https://github.com/dotnet/orleans/issues/2393","id":187571103,"number":2393,"title":"Getting lots of InconsistentStateExceptions with SQL Storage provider","user":{"login":"dandago","id":13241564,"avatar_url":"https://avatars.githubusercontent.com/u/13241564?v=3","gravatar_id":"","url":"https://api.github.com/users/dandago","html_url":"https://github.com/dandago","followers_url":"https://api.github.com/users/dandago/followers","following_url":"https://api.github.com/users/dandago/following{/other_user}","gists_url":"https://api.github.com/users/dandago/gists{/gist_id}","starred_url":"https://api.github.com/users/dandago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandago/subscriptions","organizations_url":"https://api.github.com/users/dandago/orgs","repos_url":"https://api.github.com/users/dandago/repos","events_url":"https://api.github.com/users/dandago/events{/privacy}","received_events_url":"https://api.github.com/users/dandago/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/orleans/milestones/17","html_url":"https://github.com/dotnet/orleans/milestones/Triage","labels_url":"https://api.github.com/repos/dotnet/orleans/milestones/17/labels","id":2111063,"number":17,"title":"Triage","description":"","creator":{"login":"sergeybykov","id":8248806,"avatar_url":"https://avatars.githubusercontent.com/u/8248806?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeybykov","html_url":"https://github.com/sergeybykov","followers_url":"https://api.github.com/users/sergeybykov/followers","following_url":"https://api.github.com/users/sergeybykov/following{/other_user}","gists_url":"https://api.github.com/users/sergeybykov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeybykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeybykov/subscriptions","organizations_url":"https://api.github.com/users/sergeybykov/orgs","repos_url":"https://api.github.com/users/sergeybykov/repos","events_url":"https://api.github.com/users/sergeybykov/events{/privacy}","received_events_url":"https://api.github.com/users/sergeybykov/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":2,"state":"open","created_at":"2016-11-03T00:53:47Z","updated_at":"2016-11-06T20:13:37Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-11-06T16:16:27Z","updated_at":"2016-11-07T16:25:59Z","closed_at":null,"body":"We've run into an issue where we get lots of InconsistentStateExceptions, such as this:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/13241564/20039434/371ee4c2-a444-11e6-9af6-bb00042e3ec9.png)\r\n\r\nI have created a project to reproduce this issue; it is the OrleansInconsistentStateException folder from my [experimental BitBucket repository](https://bitbucket.org/dandago/experimental/src).\r\n\r\nChange the connection string in the silo project's OrleansConfiguration.xml.\r\n\r\nThe client program repeatedly calls an async void method. This is intentional; it simulates the case we ran into where we have event handlers from a third party library firing. We can't await those.\r\n\r\nIt is possible that you'll get database-level deadlocks instead of InconsistentStateExceptions at times. Rerun it a few times.\r\n\r\nBoth the InconsistentStateExceptions and database-level deadlocks are problematic. The load isn't particularly large here."},"comment":{"url":"https://api.github.com/repos/dotnet/orleans/issues/comments/258883738","html_url":"https://github.com/dotnet/orleans/issues/2393#issuecomment-258883738","issue_url":"https://api.github.com/repos/dotnet/orleans/issues/2393","id":258883738,"user":{"login":"sergeybykov","id":8248806,"avatar_url":"https://avatars.githubusercontent.com/u/8248806?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeybykov","html_url":"https://github.com/sergeybykov","followers_url":"https://api.github.com/users/sergeybykov/followers","following_url":"https://api.github.com/users/sergeybykov/following{/other_user}","gists_url":"https://api.github.com/users/sergeybykov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeybykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeybykov/subscriptions","organizations_url":"https://api.github.com/users/sergeybykov/orgs","repos_url":"https://api.github.com/users/sergeybykov/repos","events_url":"https://api.github.com/users/sergeybykov/events{/privacy}","received_events_url":"https://api.github.com/users/sergeybykov/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T16:25:59Z","updated_at":"2016-11-07T16:25:59Z","body":"We are still testing 1.3.1. There were some perf concerns we are checking. If the fix is available, we could include it in 1.3.1.\r\n\r\nJust to clarify, the bug it only in the `AdoNetStorageProvider`, right?"}}
{"actor":{"display_login":"sergeybykov"}}