{"action":"created","issue":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2268","repository_url":"https://api.github.com/repos/akkadotnet/akka.net","labels_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2268/labels{/name}","comments_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2268/comments","events_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2268/events","html_url":"https://github.com/akkadotnet/akka.net/issues/2268","id":173244373,"number":2268,"title":"Occasional KeyNotFoundException when publishing to Akka.NET Distributed Pub/Sub","user":{"login":"jpierson","id":1467146,"avatar_url":"https://avatars.githubusercontent.com/u/1467146?v=3","gravatar_id":"","url":"https://api.github.com/users/jpierson","html_url":"https://github.com/jpierson","followers_url":"https://api.github.com/users/jpierson/followers","following_url":"https://api.github.com/users/jpierson/following{/other_user}","gists_url":"https://api.github.com/users/jpierson/gists{/gist_id}","starred_url":"https://api.github.com/users/jpierson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpierson/subscriptions","organizations_url":"https://api.github.com/users/jpierson/orgs","repos_url":"https://api.github.com/users/jpierson/repos","events_url":"https://api.github.com/users/jpierson/events{/privacy}","received_events_url":"https://api.github.com/users/jpierson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-25T16:04:25Z","updated_at":"2016-08-29T10:05:14Z","closed_at":null,"body":"I'm using Akka.Cluster 1.1.1 and Akka.Cluster.Tools 1.0.6 and I'm noticing that I get KeyNotFoundException cases when publishing to the mediator. Looking at the code for [DistributedPubSubMediator](https://github.com/akkadotnet/akka.net/blob/31d11ec1fcfdc19c33b99135d778d932ddcaf526/src/contrib/cluster/Akka.Cluster.Tools/PublishSubscribe/DistributedPubSubMediator.cs#L499) it looks like this should be impossible unless there is a bug in the implementation of ImmutableDictionary.ContainsKey or some other type of compiler/CLR issue as @Horusiath suggested.\r\n\r\nGitter conversation: https://gitter.im/akkadotnet/akka.net?at=57befcc87c2d386059a1e768\r\n\r\nStackOverflow post: [What is causing occasional KeyNotFoundException in Akka.NET Distributed Pub/Sub](http://stackoverflow.com/questions/39147588/what-is-causing-occasional-keynotfoundexception-in-akka-net-distributed-pub-sub)"},"comment":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/comments/243084973","html_url":"https://github.com/akkadotnet/akka.net/issues/2268#issuecomment-243084973","issue_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/2268","id":243084973,"user":{"login":"Danthar","id":986519,"avatar_url":"https://avatars.githubusercontent.com/u/986519?v=3","gravatar_id":"","url":"https://api.github.com/users/Danthar","html_url":"https://github.com/Danthar","followers_url":"https://api.github.com/users/Danthar/followers","following_url":"https://api.github.com/users/Danthar/following{/other_user}","gists_url":"https://api.github.com/users/Danthar/gists{/gist_id}","starred_url":"https://api.github.com/users/Danthar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danthar/subscriptions","organizations_url":"https://api.github.com/users/Danthar/orgs","repos_url":"https://api.github.com/users/Danthar/repos","events_url":"https://api.github.com/users/Danthar/events{/privacy}","received_events_url":"https://api.github.com/users/Danthar/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T10:05:14Z","updated_at":"2016-08-29T10:05:14Z","body":"There is talk about doing a maintenance release sometime soon. But im not sure when. @Aaronontheweb  ? "}}
{"actor":{"display_login":"Danthar"}}