phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajeshb...@apache.org
Subject git commit: PHOENIX-1293 By default we should not disable wal for immutable indexes otherwise we end up in data loss on RS failure
Date Mon, 29 Sep 2014 04:17:09 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.0 86ff03169 -> c0c4bdf10


PHOENIX-1293 By default we should not disable wal for immutable indexes otherwise we end up
in data loss on RS failure


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

Branch: refs/heads/4.0
Commit: c0c4bdf105b8f427803f935fbfcd5207a62ba495
Parents: 86ff031
Author: Rajeshbabu Chintaguntla <rajeshbabu.chintaguntla@huawei.com>
Authored: Mon Sep 29 08:06:32 2014 +0530
Committer: Rajeshbabu Chintaguntla <rajeshbabu.chintaguntla@huawei.com>
Committed: Mon Sep 29 09:46:45 2014 +0530

----------------------------------------------------------------------
 .../src/it/java/org/apache/phoenix/end2end/AlterTableIT.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c0c4bdf1/phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableIT.java
index 7297afc..98a98d2 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableIT.java
@@ -700,10 +700,10 @@ public class AlterTableIT extends BaseHBaseManagedTimeIT {
             conn2 = DriverManager.getConnection(getUrl(), props);
             query = "SELECT * FROM i";
             rs = conn2.createStatement().executeQuery(query);
-            asssertIsWALDisabled(conn2,fullIndexName, true);
+            asssertIsWALDisabled(conn2,fullIndexName, false);
             assertFalse(rs.next());
             conn2.close();
-            asssertIsWALDisabled(conn,fullIndexName, true);
+            asssertIsWALDisabled(conn,fullIndexName, false);
             
             conn.createStatement().execute("DROP TABLE test_table");
         } finally {
@@ -730,10 +730,10 @@ public class AlterTableIT extends BaseHBaseManagedTimeIT {
             conn2 = DriverManager.getConnection(getUrl(), props);
             query = "SELECT * FROM i";
             rs = conn2.createStatement().executeQuery(query);
-            asssertIsWALDisabled(conn2,fullIndexName, true);
+            asssertIsWALDisabled(conn2,fullIndexName, false);
             assertFalse(rs.next());
             conn2.close();
-            asssertIsWALDisabled(conn,fullIndexName, true);
+            asssertIsWALDisabled(conn,fullIndexName, false);
             conn.createStatement().execute("DROP TABLE test_table");
         } finally {
             conn.close();


Mime
View raw message