elasticsearch/elasticsearch — pull request #6645 by martijnvg (2014-06-30 09:29:50+00:00)
Title: Cancel recovery if shard closes during recovery operation

On the target side if the shard closes while recovery is in progress (e.g. files being transferred), the recovery operation should be cancelled.