Handle CancellationException in FileStoreAttributeCache
Change-Id: If5985fbf04f630b1d72a1bafd508e0e15e1436be
This commit is contained in:
parent
72d6e304b8
commit
37f7679fc9
|
@ -74,6 +74,7 @@
|
|||
import java.util.Objects;
|
||||
import java.util.Optional;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.CancellationException;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
@ -281,7 +282,7 @@ private static Duration getFsTimestampResolution(Path file) {
|
|||
}
|
||||
// return fallback until measurement is finished
|
||||
} catch (IOException | InterruptedException
|
||||
| ExecutionException e) {
|
||||
| ExecutionException | CancellationException e) {
|
||||
LOG.error(e.getMessage(), e);
|
||||
} catch (TimeoutException | SecurityException e) {
|
||||
// use fallback
|
||||
|
|
Loading…
Reference in New Issue