elasticsearch/elasticsearch — pull request #9001 by bleskes (2014-12-18 10:06:42+00:00)
Title: Internal: PlainTransportFuture should not set currentThread().interrupt()

We use PlainTransportFuture as a future for our transport calls. If someone blocks on it and it is interrupted, we throw an ElasticsearchIllegalStateException. We should not set Thread.currentThread().interrupt(); in this case because we already communicate the interrupt through an exception.