elasticsearch/elasticsearch — pull request #6191 by bleskes (2014-05-15 16:53:05+00:00)
Title: Before deleting a local unused shard copy, verify we're connected to the node it's supposed to be on

This is yet another safety guard to make sure we don't delete data if the local copy is the only one (even if it's not part of the cluster state any more)