asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiss...@apache.org
Subject incubator-asterixdb git commit: ASTERIXDB-1434: fixed RecoveryIT failure test
Date Thu, 12 May 2016 06:57:19 GMT
Repository: incubator-asterixdb
Updated Branches:
  refs/heads/master 5ba58de67 -> b7ca56c59


ASTERIXDB-1434: fixed RecoveryIT failure test

- Fixed Recovery IT failure test. There has been a lurking bug
which always set the isPrimaryIndex flag to true incorrectly for
secondary LSMBTree indexes. The bug surfaced out from the
recent change which removed a Bloom filter from secondary
LSMBTree indexes.

Change-Id: I85bc3c8445c10da8f2a8c2f334d1eeefb1c0662a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/845
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <michael.blow@couchbase.com>


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

Branch: refs/heads/master
Commit: b7ca56c59ccba8fbb34226d338e60b9984681bb7
Parents: 5ba58de
Author: kisskys <kisskys@apache.org>
Authored: Wed May 11 20:00:56 2016 -0700
Committer: Young-Seok Kim <kisskys@gmail.com>
Committed: Wed May 11 23:56:43 2016 -0700

----------------------------------------------------------------------
 .../org/apache/asterix/file/SecondaryBTreeOperationsHelper.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/b7ca56c5/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryBTreeOperationsHelper.java
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryBTreeOperationsHelper.java
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryBTreeOperationsHelper.java
index 6a6538e..c793f59 100644
--- a/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryBTreeOperationsHelper.java
+++ b/asterixdb/asterix-app/src/main/java/org/apache/asterix/file/SecondaryBTreeOperationsHelper.java
@@ -91,7 +91,7 @@ public class SecondaryBTreeOperationsHelper extends SecondaryIndexOperationsHelp
         if (dataset.getDatasetType() == DatasetType.INTERNAL) {
             //prepare a LocalResourceMetadata which will be stored in NC's local resource
repository
             ILocalResourceMetadata localResourceMetadata = new LSMBTreeLocalResourceMetadata(secondaryTypeTraits,
-                    secondaryComparatorFactories, secondaryBloomFilterKeyFields, true, dataset.getDatasetId(),
+                    secondaryComparatorFactories, secondaryBloomFilterKeyFields, false, dataset.getDatasetId(),
                     mergePolicyFactory, mergePolicyFactoryProperties, filterTypeTraits, filterCmpFactories,
                     secondaryBTreeFields, secondaryFilterFields);
             localResourceFactoryProvider = new PersistentLocalResourceFactoryProvider(localResourceMetadata,


Mime
View raw message