incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/2] git commit: Bug with the status manager, only queries with uuid set can be visible. Maybe change controller to assign them if missing?
Date Fri, 30 Aug 2013 03:41:14 GMT
Updated Branches:
  refs/heads/master 761486cce -> 33eeef09e


Bug with the status manager, only queries with uuid set can be visible.  Maybe change controller
to assign them if missing?


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

Branch: refs/heads/master
Commit: 94cb92bb103e608e6855d12bef28112da6a4d1fb
Parents: 761486c
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Thu Aug 29 23:38:25 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Thu Aug 29 23:38:25 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/blur/manager/status/QueryStatusManager.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/94cb92bb/blur-core/src/main/java/org/apache/blur/manager/status/QueryStatusManager.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/manager/status/QueryStatusManager.java
b/blur-core/src/main/java/org/apache/blur/manager/status/QueryStatusManager.java
index d9262ef..f9bd583 100644
--- a/blur-core/src/main/java/org/apache/blur/manager/status/QueryStatusManager.java
+++ b/blur-core/src/main/java/org/apache/blur/manager/status/QueryStatusManager.java
@@ -132,7 +132,9 @@ public class QueryStatusManager {
     Set<String> ids = new HashSet<String>();
     for (QueryStatus status : currentQueryStatusCollection.keySet()) {
       if (status.getTable().equals(table)) {
-        ids.add(status.getUserUuid());
+        if (status.getUserUuid() != null) {
+          ids.add(status.getUserUuid());  
+        }
       }
     }
     return new ArrayList<String>(ids);


Mime
View raw message