ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [20/29] incubator-ignite git commit: # Fixed invalid assertion in IGFS file worker: cleanup can be invoked on file worker not only after cancel, but also due to exception or interrupt.
Date Wed, 25 Mar 2015 07:31:52 GMT
# Fixed invalid assertion in IGFS file worker: cleanup can be invoked on file worker not only
after cancel, but also due to exception or interrupt.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/688e52e5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/688e52e5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/688e52e5

Branch: refs/heads/ignite-573
Commit: 688e52e52662c9229f66780a77c73b90e3ced26a
Parents: f78138e
Author: vozerov-gridgain <vozerov@gridgain.com>
Authored: Wed Mar 25 09:28:11 2015 +0300
Committer: vozerov-gridgain <vozerov@gridgain.com>
Committed: Wed Mar 25 09:28:11 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/internal/processors/igfs/IgfsFileWorker.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/688e52e5/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsFileWorker.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsFileWorker.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsFileWorker.java
index 67ade2f..8b04c41 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsFileWorker.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/igfs/IgfsFileWorker.java
@@ -119,8 +119,6 @@ public class IgfsFileWorker extends IgfsThread {
 
     /** {@inheritDoc} */
     @Override protected void cleanup() {
-        assert cancelled; // Cleanup can only be performed on a cancelled worker.
-
         // Clear interrupted flag.
         boolean interrupted = interrupted();
 


Mime
View raw message