elasticsearch/elasticsearch — pull request #5463 by kimchy (2014-03-19 12:45:09+00:00)
Title: Use BytesReference to write to translog files

Instead of using byte arrays, pass the BytesReference to the actual translog file, and use the new copyTo(channel) method to write. This will improve by not potentially having to convert the data to a byte array