elasticsearch/elasticsearch — pull request #8275 by s1monw (2014-10-29 15:21:32+00:00)
Title: [STORE] Add dedicated method to write temporary files

Recovery writes temporary files which might not end up in the
right distributor directories today. This commit adds a dedicated
API that allows specifying the target file name in order to create the
tempoary file in the correct directory.