phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamestay...@apache.org
Subject phoenix git commit: PHOENIX-2478 Rows committed in transaction overlapping index creation are not populated
Date Wed, 20 Jan 2016 06:15:30 GMT
Repository: phoenix
Updated Branches:
  refs/heads/master b63ca5fbd -> 4d323b66b


PHOENIX-2478 Rows committed in transaction overlapping index creation are not populated


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

Branch: refs/heads/master
Commit: 4d323b66b8f685872c7b94f3d243c940f7fa37d9
Parents: b63ca5f
Author: James Taylor <jtaylor@salesforce.com>
Authored: Tue Jan 19 22:10:48 2016 -0800
Committer: James Taylor <jtaylor@salesforce.com>
Committed: Tue Jan 19 22:11:00 2016 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/phoenix/execute/MutationState.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/4d323b66/phoenix-core/src/main/java/org/apache/phoenix/execute/MutationState.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/execute/MutationState.java b/phoenix-core/src/main/java/org/apache/phoenix/execute/MutationState.java
index 3dfae46..f1a9c02 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/execute/MutationState.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/execute/MutationState.java
@@ -1234,7 +1234,7 @@ public class MutationState implements SQLCloseable {
             if (updatedDataTable == null) {
                 throw new TableNotFoundException(dataTable.getSchemaName().getString(), dataTable.getTableName().getString());
             }
-            allImmutableTables |= updatedDataTable.isImmutableRows();
+            allImmutableTables &= updatedDataTable.isImmutableRows();
             tableRef.setTable(updatedDataTable);
             if (!addedAnyIndexes) {
                 // TODO: in theory we should do a deep equals check here, as it's possible


Mime
View raw message