Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlainTransportFuture should not set currentThread().interrupt() #9001

Closed
wants to merge 1 commit into from

Commits on Dec 18, 2014

  1. Internal: PlainTransportFuture should not set currentThread().interru…

    …pt()
    
    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.
    bleskes committed Dec 18, 2014
    Configuration menu
    Copy the full SHA
    f9602f0 View commit details
    Browse the repository at this point in the history