cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelv...@apache.org
Subject git commit: updated refs/heads/vmsync to a72ddad
Date Mon, 17 Jun 2013 23:26:20 GMT
Updated Branches:
  refs/heads/vmsync eaf30b835 -> a72ddad92


Fix another assertion error


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

Branch: refs/heads/vmsync
Commit: a72ddad92de8a5a8669f8c7fc199fa981fff748d
Parents: eaf30b8
Author: Kelven Yang <kelveny@gmail.com>
Authored: Mon Jun 17 16:18:43 2013 -0700
Committer: Kelven Yang <kelveny@gmail.com>
Committed: Mon Jun 17 16:18:43 2013 -0700

----------------------------------------------------------------------
 .../org/apache/cloudstack/framework/jobs/impl/AsyncJobMonitor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a72ddad9/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobMonitor.java
----------------------------------------------------------------------
diff --git a/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobMonitor.java
b/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobMonitor.java
index cd10643..1042fac 100644
--- a/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobMonitor.java
+++ b/framework/jobs/src/org/apache/cloudstack/framework/jobs/impl/AsyncJobMonitor.java
@@ -111,7 +111,7 @@ public class AsyncJobMonitor extends ManagerBase {
 		synchronized(this) {
 			s_logger.info("Add job-" + jobId + " into job monitoring");
 			
-			assert(_activeTasks.get(jobId) == null);
+			assert(_activeTasks.get(runNumber) == null);
 			
 			long threadId = Thread.currentThread().getId();
 			boolean fromPoolThread = Thread.currentThread().getName().contains(AsyncJobConstants.JOB_POOL_THREAD_PREFIX);


Mime
View raw message