mirror of https://github.com/apache/druid.git
do not fail on exceptions when pulling from cache
This commit is contained in:
parent
8f6c313561
commit
2837309075
|
@ -147,7 +147,8 @@ public class MemcachedCache implements Cache
|
|||
throw Throwables.propagate(e);
|
||||
}
|
||||
catch(ExecutionException e) {
|
||||
throw Throwables.propagate(e);
|
||||
log.warn(e, "Exception pulling item from cache");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -240,7 +241,8 @@ public class MemcachedCache implements Cache
|
|||
throw Throwables.propagate(e);
|
||||
}
|
||||
catch(ExecutionException e) {
|
||||
throw Throwables.propagate(e);
|
||||
log.warn(e, "Exception pulling item from cache");
|
||||
return results;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue