"alternatives are available.", logDescription, alternativeIdx, restoreOptions.size(), ex); if (backendCloseableRegistry.isClosed()) { throw new FlinkException("Stopping restore attempts for already cancelled task.", collectedException);
"alternatives are available.", logDescription, alternativeIdx, restoreOptions.size(), ex); if (backendCloseableRegistry.isClosed()) { throw new FlinkException("Stopping restore attempts for already cancelled task.", collectedException);
"alternatives are available.", logDescription, alternativeIdx, restoreOptions.size(), ex); if (backendCloseableRegistry.isClosed()) { throw new FlinkException("Stopping restore attempts for already cancelled task.", collectedException);
@Override public T call() throws Exception { final long startTime = System.currentTimeMillis(); if (resourceCleanupOwnershipTaken.compareAndSet(false, true)) { try { T result = callInternal(); logAsyncSnapshotComplete(startTime); return result; } catch (Exception ex) { if (!snapshotCloseableRegistry.isClosed()) { throw ex; } } finally { closeSnapshotIO(); cleanup(); } } throw new CancellationException(CANCELLATION_EXCEPTION_MSG); }
@Override public T call() throws Exception { final long startTime = System.currentTimeMillis(); if (resourceCleanupOwnershipTaken.compareAndSet(false, true)) { try { T result = callInternal(); logAsyncSnapshotComplete(startTime); return result; } catch (Exception ex) { if (!snapshotCloseableRegistry.isClosed()) { throw ex; } } finally { closeSnapshotIO(); cleanup(); } } throw new CancellationException(CANCELLATION_EXCEPTION_MSG); }