mirror of https://github.com/apache/druid.git
Suppress stacktrace of InterruptedException in CommonCacheNotifier (#11715)
When CommonCachedNotifier is being stopped while the thread is waiting on updateQueue.take(), an InterruptedException is thrown. The stack trace from this exception gives the wrong idea that something went wrong with the shutdown.
This commit is contained in:
parent
5e092ccb9b
commit
757720fae5
|
@ -140,6 +140,9 @@ public class CommonCacheNotifier
|
|||
|
||||
LOG.debug(callerName + ":Received responses for cache update notifications.");
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
LOG.noStackTrace().info(e, "%s: Interrupted while handling updates for cachedUserMaps.", callerName);
|
||||
}
|
||||
catch (Throwable t) {
|
||||
LOG.makeAlert(t, callerName + ":Error occured while handling updates for cachedUserMaps.").emit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue