asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject asterixdb git commit: Fix for ASTERIXDB-1886: Filter not selective
Date Thu, 20 Apr 2017 22:17:49 GMT
Repository: asterixdb
Updated Branches:
  refs/heads/master d0baeedbd -> b1a07a07e


Fix for ASTERIXDB-1886: Filter not selective

The filter was not being reset in the memory component.

Change-Id: I123438c7fe5fba64aff4e88b1bda0e2be1a32574
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1691
Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
BAD: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>


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

Branch: refs/heads/master
Commit: b1a07a07e681aed03157621801ced1ce687ec6f2
Parents: d0baeed
Author: Ian Maxon <imaxon@apache.org>
Authored: Tue Apr 18 19:43:37 2017 -0700
Committer: Ian Maxon <imaxon@apache.org>
Committed: Thu Apr 20 15:17:33 2017 -0700

----------------------------------------------------------------------
 .../storage/am/lsm/common/impls/AbstractLSMMemoryComponent.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/b1a07a07/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/AbstractLSMMemoryComponent.java
----------------------------------------------------------------------
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/AbstractLSMMemoryComponent.java
b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/AbstractLSMMemoryComponent.java
index bfe7fc0..7cbe35f 100644
--- a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/AbstractLSMMemoryComponent.java
+++ b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/impls/AbstractLSMMemoryComponent.java
@@ -196,6 +196,9 @@ public abstract class AbstractLSMMemoryComponent extends AbstractLSMComponent
im
     public void reset() throws HyracksDataException {
         isModified.set(false);
         metadata.reset();
+        if (filter != null) {
+            filter.reset();
+        }
     }
 
     @Override


Mime
View raw message