{"action":"created","issue":{"url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/181","labels_url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/181/comments","events_url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/181/events","html_url":"https://github.com/OpenHFT/Chronicle-Queue/issues/181","id":97830067,"number":181,"title":"non blocking tailer works as expected the first time around but blocks the thread when the remote source crashes","user":{"login":"puiuvlad","id":9600467,"avatar_url":"https://avatars.githubusercontent.com/u/9600467?v=3","gravatar_id":"","url":"https://api.github.com/users/puiuvlad","html_url":"https://github.com/puiuvlad","followers_url":"https://api.github.com/users/puiuvlad/followers","following_url":"https://api.github.com/users/puiuvlad/following{/other_user}","gists_url":"https://api.github.com/users/puiuvlad/gists{/gist_id}","starred_url":"https://api.github.com/users/puiuvlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puiuvlad/subscriptions","organizations_url":"https://api.github.com/users/puiuvlad/orgs","repos_url":"https://api.github.com/users/puiuvlad/repos","events_url":"https://api.github.com/users/puiuvlad/events{/privacy}","received_events_url":"https://api.github.com/users/puiuvlad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"lburgazzoli","id":1868933,"avatar_url":"https://avatars.githubusercontent.com/u/1868933?v=3","gravatar_id":"","url":"https://api.github.com/users/lburgazzoli","html_url":"https://github.com/lburgazzoli","followers_url":"https://api.github.com/users/lburgazzoli/followers","following_url":"https://api.github.com/users/lburgazzoli/following{/other_user}","gists_url":"https://api.github.com/users/lburgazzoli/gists{/gist_id}","starred_url":"https://api.github.com/users/lburgazzoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lburgazzoli/subscriptions","organizations_url":"https://api.github.com/users/lburgazzoli/orgs","repos_url":"https://api.github.com/users/lburgazzoli/repos","events_url":"https://api.github.com/users/lburgazzoli/events{/privacy}","received_events_url":"https://api.github.com/users/lburgazzoli/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-29T00:34:47Z","updated_at":"2015-07-29T10:00:48Z","closed_at":null,"body":"Hi Luca,\r\n\r\nI have a non blocking remote tailer connected to a source appender.\r\n\r\nInitially the source is not there and the remote tailer performs as expected, i.e., tailer.nextIndex() returns 'false' immediately. Then I bring up the source, don't publish anything, and again, as expected, tailer.nextIndex() returns 'false' immediately. Then I bring down the source and this time tailer.nextIndex() returns 'false' but after 1 second. The expectatoin is that tailer.nextIndex() returns false immediately.\r\n\r\nI am doing this in a loop (with two sink/source pairs) and I get this trace:\r\n\r\n    07:06:50,306 WARN [net.openhft.chronicle.RemoteChronicleQueue.?] Failed to establish a connection [/127.0.0.1:15000]\r\n    07:06:51,321 WARN [net.openhft.chronicle.RemoteChronicleQueue.?] Failed to establish a connection [/127.0.0.1:15001]\r\n    07:06:52,336 WARN [net.openhft.chronicle.RemoteChronicleQueue.?] Failed to establish a connection [/127.0.0.1:15000]\r\n    07:06:53,366 WARN [net.openhft.chronicle.RemoteChronicleQueue.?] Failed to establish a connection [/127.0.0.1:15001]\r\n    07:06:54,381 WARN [net.openhft.chronicle.RemoteChronicleQueue.?] Failed to establish a connection [/127.0.0.1:15000]\r\n    07:06:55,381 WARN [net.openhft.chronicle.RemoteChronicleQueue.?] Failed to establish a connection [/127.0.0.1:15001]\r\n    07:06:56,410 WARN [net.openhft.chronicle.RemoteChronicleQueue.?] Failed to establish a connection [/127.0.0.1:15000]\r\n    07:06:57,425 WARN [net.openhft.chronicle.RemoteChronicleQueue.?] Failed to establish a connection [/127.0.0.1:15001]\r\n\r\nCan you please take a look?\r\n\r\nThanks,\r\nVladimir\r\n"},"comment":{"url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/comments/125902958","html_url":"https://github.com/OpenHFT/Chronicle-Queue/issues/181#issuecomment-125902958","issue_url":"https://api.github.com/repos/OpenHFT/Chronicle-Queue/issues/181","id":125902958,"user":{"login":"puiuvlad","id":9600467,"avatar_url":"https://avatars.githubusercontent.com/u/9600467?v=3","gravatar_id":"","url":"https://api.github.com/users/puiuvlad","html_url":"https://github.com/puiuvlad","followers_url":"https://api.github.com/users/puiuvlad/followers","following_url":"https://api.github.com/users/puiuvlad/following{/other_user}","gists_url":"https://api.github.com/users/puiuvlad/gists{/gist_id}","starred_url":"https://api.github.com/users/puiuvlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puiuvlad/subscriptions","organizations_url":"https://api.github.com/users/puiuvlad/orgs","repos_url":"https://api.github.com/users/puiuvlad/repos","events_url":"https://api.github.com/users/puiuvlad/events{/privacy}","received_events_url":"https://api.github.com/users/puiuvlad/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T10:00:48Z","updated_at":"2015-07-29T10:00:48Z","body":"3.4.3\n\nOn Jul 29, 2015, at 2:03 AM, Luca Burgazzoli <notifications@github.com> wrote:\n\n> Which version?\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}