incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twilli...@apache.org
Subject git commit: Fix NPE, add id/querystatus to internal status map
Date Fri, 01 Feb 2013 02:00:59 GMT
Updated Branches:
  refs/heads/0.2-dev a2585810c -> e2fe47a37


Fix NPE, add id/querystatus to internal status map


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

Branch: refs/heads/0.2-dev
Commit: e2fe47a37bf2b1a626837df3c5929865f64d0658
Parents: a258581
Author: twilliams <twilliams@apache.org>
Authored: Thu Jan 31 21:00:00 2013 -0500
Committer: twilliams <twilliams@apache.org>
Committed: Thu Jan 31 21:00:00 2013 -0500

----------------------------------------------------------------------
 .../apache/blur/server/QueryStatusContainer.java   |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/e2fe47a3/src/blur-core/src/main/java/org/apache/blur/server/QueryStatusContainer.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/server/QueryStatusContainer.java
b/src/blur-core/src/main/java/org/apache/blur/server/QueryStatusContainer.java
index f0c0b5e..07164b6 100644
--- a/src/blur-core/src/main/java/org/apache/blur/server/QueryStatusContainer.java
+++ b/src/blur-core/src/main/java/org/apache/blur/server/QueryStatusContainer.java
@@ -57,6 +57,8 @@ public class QueryStatusContainer {
     queryStatusInternal.thread = Thread.currentThread();
     queryStatusInternal.queryStatus.startTime = System.currentTimeMillis();
     queryStatusInternal.queryStatus.state = QueryState.RUNNING;
+    
+    idLookup.put(queryArgs.getId(), queryStatusInternal);
   }
 
   public void end(QueryArgs queryArgs) {


Mime
View raw message