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/1717f12d
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/1717f12d
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/1717f12d

Branch: refs/heads/calcite
Commit: 1717f12d7c6e9b1ee8ddffb55cea929d6d8543f1
Parents: 3520e12
Author: James Taylor <jtay...@salesforce.com>
Authored: Tue Jan 19 13:16:50 2016 -0800
Committer: James Taylor <jtay...@salesforce.com>
Committed: Tue Jan 19 13:16:50 2016 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/phoenix/execute/MutationState.java  | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/1717f12d/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 8caac5d..d3b36ec 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
@@ -1231,10 +1231,6 @@ public class MutationState implements SQLCloseable {
                 throw new 
TableNotFoundException(dataTable.getSchemaName().getString(), 
dataTable.getTableName().getString());
             }
             tableRef.setTable(result.getTable());
-            if (!result.wasUpdated()) {
-                if (logger.isInfoEnabled()) logger.info("No updates to " + 
dataTable.getName().getString() + " as of "  + timestamp);
-                continue;
-            }
             if (!addedIndexes) {
                 // TODO: in theory we should do a deep equals check here, as 
it's possible
                 // that an index was dropped and recreated with the same name 
but different

Reply via email to