{"action":"created","issue":{"url":"https://api.github.com/repos/apache/kafka/issues/2304","repository_url":"https://api.github.com/repos/apache/kafka","labels_url":"https://api.github.com/repos/apache/kafka/issues/2304/labels{/name}","comments_url":"https://api.github.com/repos/apache/kafka/issues/2304/comments","events_url":"https://api.github.com/repos/apache/kafka/issues/2304/events","html_url":"https://github.com/apache/kafka/pull/2304","id":198623949,"number":2304,"title":"kafka-4576: Log segments close to max size break on fetch","user":{"login":"amethystic","id":11549429,"avatar_url":"https://avatars.githubusercontent.com/u/11549429?v=3","gravatar_id":"","url":"https://api.github.com/users/amethystic","html_url":"https://github.com/amethystic","followers_url":"https://api.github.com/users/amethystic/followers","following_url":"https://api.github.com/users/amethystic/following{/other_user}","gists_url":"https://api.github.com/users/amethystic/gists{/gist_id}","starred_url":"https://api.github.com/users/amethystic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amethystic/subscriptions","organizations_url":"https://api.github.com/users/amethystic/orgs","repos_url":"https://api.github.com/users/amethystic/repos","events_url":"https://api.github.com/users/amethystic/events{/privacy}","received_events_url":"https://api.github.com/users/amethystic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-01-04T03:39:38Z","updated_at":"2017-01-05T17:49:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/kafka/pulls/2304","html_url":"https://github.com/apache/kafka/pull/2304","diff_url":"https://github.com/apache/kafka/pull/2304.diff","patch_url":"https://github.com/apache/kafka/pull/2304.patch"},"body":"JVM spec does not make a guarantee that the buffer will be filled up when invoking FileChannel.read, which is called in searchOffsetWithSize to fail the follower replicas' reading data from leader when large log segment is set."},"comment":{"url":"https://api.github.com/repos/apache/kafka/issues/comments/270709227","html_url":"https://github.com/apache/kafka/pull/2304#issuecomment-270709227","issue_url":"https://api.github.com/repos/apache/kafka/issues/2304","id":270709227,"user":{"login":"ijuma","id":24747,"avatar_url":"https://avatars.githubusercontent.com/u/24747?v=3","gravatar_id":"","url":"https://api.github.com/users/ijuma","html_url":"https://github.com/ijuma","followers_url":"https://api.github.com/users/ijuma/followers","following_url":"https://api.github.com/users/ijuma/following{/other_user}","gists_url":"https://api.github.com/users/ijuma/gists{/gist_id}","starred_url":"https://api.github.com/users/ijuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijuma/subscriptions","organizations_url":"https://api.github.com/users/ijuma/orgs","repos_url":"https://api.github.com/users/ijuma/repos","events_url":"https://api.github.com/users/ijuma/events{/privacy}","received_events_url":"https://api.github.com/users/ijuma/received_events","type":"User","site_admin":false},"created_at":"2017-01-05T17:49:58Z","updated_at":"2017-01-05T17:49:58Z","body":"Good point about the test, I had asked for it and then forgot to reply to @amethystic's question. I agree with @hachikuji that it would be useful to have a simple test with a mocked `FileChannel`."}}
{"actor":{"display_login":"ijuma"}}