* We shouldn't just swallow the interrupt here quietly and keep going on the IO thread * Currently interrupt continues here just the same way an invocation of `acceptIncomingRequests` woudl have made things continue * Relates #44610
This commit is contained in:
parent
eafe54c81c
commit
f028ab43ad
|
@ -925,7 +925,8 @@ public class TransportService extends AbstractLifecycleComponent implements Tran
|
|||
try {
|
||||
blockIncomingRequestsLatch.await();
|
||||
} catch (InterruptedException e) {
|
||||
logger.trace("interrupted while waiting for incoming requests block to be removed");
|
||||
Thread.currentThread().interrupt();
|
||||
throw new IllegalStateException("interrupted while waiting for incoming requests block to be removed");
|
||||
}
|
||||
if (tracerLog.isTraceEnabled() && shouldTraceAction(action)) {
|
||||
tracerLog.trace("[{}][{}] received request", requestId, action);
|
||||
|
|
Loading…
Reference in New Issue