[IGNITE-765]: org.apache.ignite.internal.util.ipc.shmem.IpcSharedMemoryServerEndpoint.GcWorker#cleanupResources incorrectly handles FileLockInterruptionException
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/98e392cd Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/98e392cd Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/98e392cd Branch: refs/heads/ignite-891 Commit: 98e392cd79183945c26e9c220787cdbd4f686c26 Parents: b6fc8a9 Author: iveselovskiy <iveselovs...@gridgain.com> Authored: Thu May 28 18:39:45 2015 +0300 Committer: iveselovskiy <iveselovs...@gridgain.com> Committed: Thu May 28 18:39:45 2015 +0300 ---------------------------------------------------------------------- .../internal/util/ipc/shmem/IpcSharedMemoryServerEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/98e392cd/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryServerEndpoint.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryServerEndpoint.java b/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryServerEndpoint.java index 86a0886..5185856 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryServerEndpoint.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/ipc/shmem/IpcSharedMemoryServerEndpoint.java @@ -592,7 +592,7 @@ public class IpcSharedMemoryServerEndpoint implements IpcServerEndpoint { if (log.isDebugEnabled()) log.debug("Token directory is being processed concurrently: " + workTokDir.getAbsolutePath()); } - catch (InterruptedIOException ignored) { + catch (FileLockInterruptionException ignored) { Thread.currentThread().interrupt(); } catch (IOException e) {