{"action":"created","issue":{"url":"https://api.github.com/repos/linkedin/ambry/issues/932","repository_url":"https://api.github.com/repos/linkedin/ambry","labels_url":"https://api.github.com/repos/linkedin/ambry/issues/932/labels{/name}","comments_url":"https://api.github.com/repos/linkedin/ambry/issues/932/comments","events_url":"https://api.github.com/repos/linkedin/ambry/issues/932/events","html_url":"https://github.com/linkedin/ambry/issues/932","id":325905833,"number":932,"title":"MessageFormatInputStream does not conform with InputStream","user":{"login":"dharju","id":31049200,"avatar_url":"https://avatars2.githubusercontent.com/u/31049200?v=4","gravatar_id":"","url":"https://api.github.com/users/dharju","html_url":"https://github.com/dharju","followers_url":"https://api.github.com/users/dharju/followers","following_url":"https://api.github.com/users/dharju/following{/other_user}","gists_url":"https://api.github.com/users/dharju/gists{/gist_id}","starred_url":"https://api.github.com/users/dharju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharju/subscriptions","organizations_url":"https://api.github.com/users/dharju/orgs","repos_url":"https://api.github.com/users/dharju/repos","events_url":"https://api.github.com/users/dharju/events{/privacy}","received_events_url":"https://api.github.com/users/dharju/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T23:09:06Z","updated_at":"2018-05-24T22:41:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"\"If len is zero, then no bytes are read and 0 is returned; otherwise, there is an attempt to read at least one byte. If no byte is available because the stream is at end of file, the value -1 is returned; otherwise, at least one byte is read and stored into b.\"  from `public int read(byte[] b, int off, int len) throws IOException` at https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html\r\n\r\n`MessageFormatInputStream`'s `int read(byte[] b, int off, int len)` does not conform to this description, as it never returns -1."},"comment":{"url":"https://api.github.com/repos/linkedin/ambry/issues/comments/391887983","html_url":"https://github.com/linkedin/ambry/issues/932#issuecomment-391887983","issue_url":"https://api.github.com/repos/linkedin/ambry/issues/932","id":391887983,"user":{"login":"pnarayanan","id":1454915,"avatar_url":"https://avatars2.githubusercontent.com/u/1454915?v=4","gravatar_id":"","url":"https://api.github.com/users/pnarayanan","html_url":"https://github.com/pnarayanan","followers_url":"https://api.github.com/users/pnarayanan/followers","following_url":"https://api.github.com/users/pnarayanan/following{/other_user}","gists_url":"https://api.github.com/users/pnarayanan/gists{/gist_id}","starred_url":"https://api.github.com/users/pnarayanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnarayanan/subscriptions","organizations_url":"https://api.github.com/users/pnarayanan/orgs","repos_url":"https://api.github.com/users/pnarayanan/repos","events_url":"https://api.github.com/users/pnarayanan/events{/privacy}","received_events_url":"https://api.github.com/users/pnarayanan/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T22:41:53Z","updated_at":"2018-05-24T22:41:53Z","author_association":"CONTRIBUTOR","body":"Other `InputStream` implementations in our code seems to have similar bugs. See @vgkholla's comment here about `MessageReadSetIndexInputStream` class: https://github.com/linkedin/ambry/pull/931/files/615da4866ecc9ed10c4cec955680e2eb8f4de308#r190741183"}}
{"actor":{"display_login":"pnarayanan"}}