Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.0 d6cf933e9 -> f1a146114
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/f1a14611 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/f1a14611 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/f1a14611 Branch: refs/heads/4.x-HBase-1.0 Commit: f1a14611471bfb37e9bc075b54f1b1c27b4e8dc5 Parents: d6cf933 Author: James Taylor <[email protected]> Authored: Tue Jan 19 22:10:48 2016 -0800 Committer: James Taylor <[email protected]> Committed: Tue Jan 19 22:18:56 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/f1a14611/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 ae5f0e2..54fcf88 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
