{"action":"created","issue":{"url":"https://api.github.com/repos/mrniko/redisson/issues/307","labels_url":"https://api.github.com/repos/mrniko/redisson/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/mrniko/redisson/issues/307/comments","events_url":"https://api.github.com/repos/mrniko/redisson/issues/307/events","html_url":"https://github.com/mrniko/redisson/issues/307","id":119514893,"number":307,"title":"Redisson shutdown hangs if redis server was down","user":{"login":"Kindrat","id":2321291,"avatar_url":"https://avatars.githubusercontent.com/u/2321291?v=3","gravatar_id":"","url":"https://api.github.com/users/Kindrat","html_url":"https://github.com/Kindrat","followers_url":"https://api.github.com/users/Kindrat/followers","following_url":"https://api.github.com/users/Kindrat/following{/other_user}","gists_url":"https://api.github.com/users/Kindrat/gists{/gist_id}","starred_url":"https://api.github.com/users/Kindrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kindrat/subscriptions","organizations_url":"https://api.github.com/users/Kindrat/orgs","repos_url":"https://api.github.com/users/Kindrat/repos","events_url":"https://api.github.com/users/Kindrat/events{/privacy}","received_events_url":"https://api.github.com/users/Kindrat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-30T15:29:16Z","updated_at":"2015-12-01T14:50:10Z","closed_at":null,"body":"*Env:*\r\n  Server: 3.0.3\r\n  Client: 2.1.6\r\n\r\n*Steps to reproduce:*\r\n* Start redis server\r\n* Create redisson bean\r\n* Stop on a breakpoint inside test\r\n* Shutdown redis server\r\n* call redisson.shutdown()\r\n\r\nWhat I see is that ConnectionWatchdog is scheduling tryReconnect indefinitely incrementing attempts and connection is not closing. But if I put break point in ConnectionWatchdog#channelInactive (line 64) and stop there, connections are closing properly. Perhaps there is race condition somewhere?  "},"comment":{"url":"https://api.github.com/repos/mrniko/redisson/issues/comments/160988743","html_url":"https://github.com/mrniko/redisson/issues/307#issuecomment-160988743","issue_url":"https://api.github.com/repos/mrniko/redisson/issues/307","id":160988743,"user":{"login":"mrniko","id":1104661,"avatar_url":"https://avatars.githubusercontent.com/u/1104661?v=3","gravatar_id":"","url":"https://api.github.com/users/mrniko","html_url":"https://github.com/mrniko","followers_url":"https://api.github.com/users/mrniko/followers","following_url":"https://api.github.com/users/mrniko/following{/other_user}","gists_url":"https://api.github.com/users/mrniko/gists{/gist_id}","starred_url":"https://api.github.com/users/mrniko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrniko/subscriptions","organizations_url":"https://api.github.com/users/mrniko/orgs","repos_url":"https://api.github.com/users/mrniko/repos","events_url":"https://api.github.com/users/mrniko/events{/privacy}","received_events_url":"https://api.github.com/users/mrniko/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T14:50:10Z","updated_at":"2015-12-01T14:50:10Z","body":"Can't reproduce it. ConnectionWatchdog stops attempt to reconnect during shutdown. Redisson exits normally"}}