Repository: phoenix Updated Branches: refs/heads/4.x-HBase-0.98 00908a1dc -> 6e7728a5d
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/6e7728a5 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/6e7728a5 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/6e7728a5 Branch: refs/heads/4.x-HBase-0.98 Commit: 6e7728a5d30b6f4bfb51c8f3270089bef28bddf0 Parents: 00908a1 Author: James Taylor <[email protected]> Authored: Tue Jan 19 22:10:48 2016 -0800 Committer: James Taylor <[email protected]> Committed: Tue Jan 19 22:16:13 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/6e7728a5/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 2cf53c3..84824fa 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
