{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/6576","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/6576/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/6576/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/6576/events","html_url":"https://github.com/elastic/elasticsearch/pull/6576","id":36167813,"number":6576,"title":"Better support for partial buffer reads/writes in translog infrastructure","user":{"login":"bleskes","id":1006375,"avatar_url":"https://avatars.githubusercontent.com/u/1006375?v=3","gravatar_id":"","url":"https://api.github.com/users/bleskes","html_url":"https://github.com/bleskes","followers_url":"https://api.github.com/users/bleskes/followers","following_url":"https://api.github.com/users/bleskes/following{/other_user}","gists_url":"https://api.github.com/users/bleskes/gists{/gist_id}","starred_url":"https://api.github.com/users/bleskes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleskes/subscriptions","organizations_url":"https://api.github.com/users/bleskes/orgs","repos_url":"https://api.github.com/users/bleskes/repos","events_url":"https://api.github.com/users/bleskes/events{/privacy}","received_events_url":"https://api.github.com/users/bleskes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Translog","name":":Translog","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/bug","name":"bug","color":"9e2c2c"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v1.2.2","name":"v1.2.2","color":"DDDDDD"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v1.3.0","name":"v1.3.0","color":"DDDDDD"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2014-06-20T13:39:42Z","updated_at":"2015-06-08T19:51:22Z","closed_at":"2014-07-01T17:17:06Z","pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/6576","html_url":"https://github.com/elastic/elasticsearch/pull/6576","diff_url":"https://github.com/elastic/elasticsearch/pull/6576.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/6576.patch"},"body":"Some IO api can return after writing & reading only a part of the requested data. On these rare occasions, we should call the methods again to read/write the rest of the data. This has cause rare translog corruption while writing  huge documents on Windows.\r\n\r\nCloses #6441\r\n\r\nPS. I'll add java docs to the new Channels util class, but wanted to start the review process."},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/110118885","html_url":"https://github.com/elastic/elasticsearch/pull/6576#issuecomment-110118885","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/6576","id":110118885,"user":{"login":"bleskes","id":1006375,"avatar_url":"https://avatars.githubusercontent.com/u/1006375?v=3","gravatar_id":"","url":"https://api.github.com/users/bleskes","html_url":"https://github.com/bleskes","followers_url":"https://api.github.com/users/bleskes/followers","following_url":"https://api.github.com/users/bleskes/following{/other_user}","gists_url":"https://api.github.com/users/bleskes/gists{/gist_id}","starred_url":"https://api.github.com/users/bleskes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleskes/subscriptions","organizations_url":"https://api.github.com/users/bleskes/orgs","repos_url":"https://api.github.com/users/bleskes/repos","events_url":"https://api.github.com/users/bleskes/events{/privacy}","received_events_url":"https://api.github.com/users/bleskes/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T19:51:22Z","updated_at":"2015-06-08T19:51:22Z","body":"@SimplyWhiteMan it only made into 1.2.2 (see PR labels).  Also, since 1.2.2 we have *so* many similar issues that I urge to upgrade to the 1.5.2 (or 1.6.0 coming soonish). Going 1.2.2 will be a bad idea..."}}