elasticsearch/elasticsearch — pull request #5609 by kimchy (2014-03-30 17:53:32+00:00)
Title: Fix visibility in buffered translog

- fix visiblity of last written position in translog
- while there, make sure to properly propagate the exception from sync()