{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/orleans/issues/1746","repository_url":"https://api.github.com/repos/dotnet/orleans","labels_url":"https://api.github.com/repos/dotnet/orleans/issues/1746/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/orleans/issues/1746/comments","events_url":"https://api.github.com/repos/dotnet/orleans/issues/1746/events","html_url":"https://github.com/dotnet/orleans/issues/1746","id":154116288,"number":1746,"title":"Reminders Stored in SQL Are Not Always Firing After Cluster Restart","user":{"login":"zeus82","id":6005996,"avatar_url":"https://avatars.githubusercontent.com/u/6005996?v=3","gravatar_id":"","url":"https://api.github.com/users/zeus82","html_url":"https://github.com/zeus82","followers_url":"https://api.github.com/users/zeus82/followers","following_url":"https://api.github.com/users/zeus82/following{/other_user}","gists_url":"https://api.github.com/users/zeus82/gists{/gist_id}","starred_url":"https://api.github.com/users/zeus82/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeus82/subscriptions","organizations_url":"https://api.github.com/users/zeus82/orgs","repos_url":"https://api.github.com/users/zeus82/repos","events_url":"https://api.github.com/users/zeus82/events{/privacy}","received_events_url":"https://api.github.com/users/zeus82/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-10T21:57:31Z","updated_at":"2016-05-11T16:54:59Z","closed_at":null,"body":"When they do fire after a restart, the grain's OnActivateAsync does not get called.\r\n\r\nThis repo has a solution I created to illustrate the problem:  [OrleansReminderProblem](https://github.com/zeus82/OrleansReminderProblem)\r\n\r\nThe connection string to the database is in the OrleansHostWrapper\r\n\r\nRun the test host a few times for at least 1 minute to make sure the reminder doesn't fire.\r\n\r\nTo see that the test reminder is firing look for an Info level message in the logs that says \"Reminder got called\"\r\n\r\nAlso, to see that the OnActivateAsync method did get called look for an Error message in the logs that says: \"********** OnActivateAsync was not called ********************\"\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/orleans/issues/comments/218521198","html_url":"https://github.com/dotnet/orleans/issues/1746#issuecomment-218521198","issue_url":"https://api.github.com/repos/dotnet/orleans/issues/1746","id":218521198,"user":{"login":"veikkoeeva","id":5158694,"avatar_url":"https://avatars.githubusercontent.com/u/5158694?v=3","gravatar_id":"","url":"https://api.github.com/users/veikkoeeva","html_url":"https://github.com/veikkoeeva","followers_url":"https://api.github.com/users/veikkoeeva/followers","following_url":"https://api.github.com/users/veikkoeeva/following{/other_user}","gists_url":"https://api.github.com/users/veikkoeeva/gists{/gist_id}","starred_url":"https://api.github.com/users/veikkoeeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veikkoeeva/subscriptions","organizations_url":"https://api.github.com/users/veikkoeeva/orgs","repos_url":"https://api.github.com/users/veikkoeeva/repos","events_url":"https://api.github.com/users/veikkoeeva/events{/privacy}","received_events_url":"https://api.github.com/users/veikkoeeva/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T16:54:59Z","updated_at":"2016-05-11T16:54:59Z","body":"@zeus82 Can you switch to Azure Storage Emulator? You shouldn't need more than switching the connection string and starting it. The connection string you can check in the samples and instructions to start the emulator can be found [here](https://azure.microsoft.com/en-us/documentation/articles/storage-use-emulator/). I wonder if this could be replicated by creating a test."}}