elasticsearch/elasticsearch — pull request #6039 by jpountz (2014-05-05 08:01:49+00:00)
Title: Restore read/write visibility is PlainShardsIterator.

Change #5561 introduced a potential bug in that iterations that are performed
on a thread are might not be visible to other threads due to the removal of the
`volatile` keyword.