Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 c6e3d69a1 -> 2ba1dd66f


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 2ba1dd66f25bb016fec3894d63375046a0d5d374
Parents: c6e3d69
Author: James Taylor <[email protected]>
Authored: Tue Jan 19 13:16:50 2016 -0800
Committer: James Taylor <[email protected]>
Committed: Tue Jan 19 13:17:36 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/2ba1dd66/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 41f6845..a4eb96a 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