elasticsearch/elasticsearch — pull request #5318 by hhoffstaette (2014-03-03 14:58:03+00:00)
Title: Make BytesStreamOutput more efficient

Makes BytesStreamOutput more efficient by introducing internal paging via a (currently private) non-recycling PageCacheRecycler. This change brought to light a bug in FsTranslog, which used seek() incorrectly/ambiguously; this is fixed so that it works with both the old and new implementation.

Fix for bug #5159