ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject [01/10] incubator-ignite git commit: # ignite-798 Remove wrong completed condition.
Date Tue, 28 Apr 2015 10:24:23 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-789 cda5bae83 -> e7f9b385e


# ignite-798 Remove wrong completed condition.


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

Branch: refs/heads/ignite-789
Commit: cee1a8c9fe2828169d97b93dc007152418bfea59
Parents: 381fd1a
Author: Andrey <anovikov@gridgain.com>
Authored: Fri Apr 24 15:37:19 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Fri Apr 24 15:37:19 2015 +0700

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/internal/GridJobContextImpl.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/cee1a8c9/modules/core/src/main/java/org/apache/ignite/internal/GridJobContextImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridJobContextImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/GridJobContextImpl.java
index a1e0135..8f2c9ac 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/GridJobContextImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/GridJobContextImpl.java
@@ -169,8 +169,7 @@ public class GridJobContextImpl implements ComputeJobContext, Externalizable
{
             if (job == null)
                 job = ctx.job().activeJob(jobId);
 
-            // Completed?
-            if (job != null && !job.isDone()) {
+            if (job != null) {
                 if (!job.hold())
                     throw new IllegalStateException("Job has already been held [ctx=" + this
+ ']');
 


Mime
View raw message