{"action":"created","issue":{"url":"https://api.github.com/repos/erlio/vernemq/issues/77","labels_url":"https://api.github.com/repos/erlio/vernemq/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/erlio/vernemq/issues/77/comments","events_url":"https://api.github.com/repos/erlio/vernemq/issues/77/events","html_url":"https://github.com/erlio/vernemq/issues/77","id":119232589,"number":77,"title":"UNSUBSCRIBE \"unsubscribes\" all clients","user":{"login":"testark","id":15380492,"avatar_url":"https://avatars.githubusercontent.com/u/15380492?v=3","gravatar_id":"","url":"https://api.github.com/users/testark","html_url":"https://github.com/testark","followers_url":"https://api.github.com/users/testark/followers","following_url":"https://api.github.com/users/testark/following{/other_user}","gists_url":"https://api.github.com/users/testark/gists{/gist_id}","starred_url":"https://api.github.com/users/testark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testark/subscriptions","organizations_url":"https://api.github.com/users/testark/orgs","repos_url":"https://api.github.com/users/testark/repos","events_url":"https://api.github.com/users/testark/events{/privacy}","received_events_url":"https://api.github.com/users/testark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-27T18:14:40Z","updated_at":"2015-11-30T17:41:29Z","closed_at":null,"body":"I'm running into a strange behaviour with `UNSUBSCRIBE`. I noticed this in a two-node cluster setup, but the issue is reproducible in a single-node setup, so let's assume that for simplicity.\r\n\r\n1. Connect four clients—let's say `client-1`, `client-2`, `client-3`, `client-4`—to the broker.\r\n2. Subscribe all clients to the `t/0` topic.\r\n3. Subscribe `client-1` to `t/1` as well.\r\n4. Make `client-1` enter a loop and start publishing to `t/0` and `t/1` every 5 seconds.\r\n\r\nSo far so good—at this point, all four clients receive a message in `t/0` every 5 seconds. Now, if `client-2` unsubscribes from `t/0`, *all other three clients stop receiving messages*—even `client-1`, which had subscribed and is still publishing.\r\n\r\n(At this point, `client-1` still publishes to and receives back from`t/1`, for the matter).\r\n\r\nWhat's even more strange is that as soon as I re-subscribe `client-2` to `t/0`, *all four clients (and not only `client-2`) start receiving messages again on `t/0`*."},"comment":{"url":"https://api.github.com/repos/erlio/vernemq/issues/comments/160702455","html_url":"https://github.com/erlio/vernemq/issues/77#issuecomment-160702455","issue_url":"https://api.github.com/repos/erlio/vernemq/issues/77","id":160702455,"user":{"login":"testark","id":15380492,"avatar_url":"https://avatars.githubusercontent.com/u/15380492?v=3","gravatar_id":"","url":"https://api.github.com/users/testark","html_url":"https://github.com/testark","followers_url":"https://api.github.com/users/testark/followers","following_url":"https://api.github.com/users/testark/following{/other_user}","gists_url":"https://api.github.com/users/testark/gists{/gist_id}","starred_url":"https://api.github.com/users/testark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testark/subscriptions","organizations_url":"https://api.github.com/users/testark/orgs","repos_url":"https://api.github.com/users/testark/repos","events_url":"https://api.github.com/users/testark/events{/privacy}","received_events_url":"https://api.github.com/users/testark/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T17:41:29Z","updated_at":"2015-11-30T17:41:29Z","body":"@ioolkos No problem at all. Thank you very much :-) I'll be waiting on your results then :-)"}}