Merge branch 'master' into netty4_transport
* master: Restore interruption flag correctly in life cycle service Original commit: elastic/x-pack-elasticsearch@5da6471c9a
This commit is contained in:
commit
33ba52e735
|
@ -207,7 +207,7 @@ public class WatcherLifeCycleService extends AbstractComponent implements Cluste
|
||||||
try {
|
try {
|
||||||
latch.await();
|
latch.await();
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
Thread.interrupted();
|
Thread.currentThread().interrupt();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue