Github user JamesRTaylor commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/168#discussion_r62710798
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/hbase/index/write/ParallelWriterIndexCommitter.java
 ---
    @@ -116,7 +117,10 @@ public void write(Multimap<HTableInterfaceReference, 
Mutation> toWrite) throws S
                 // doing a complete copy over of all the index update for each 
table.
                 final List<Mutation> mutations = 
kvBuilder.cloneIfNecessary((List<Mutation>)entry.getValue());
                 final HTableInterfaceReference tableReference = entry.getKey();
    -            final RegionCoprocessorEnvironment env = this.env;
    +            if (env !=null && tableReference.getTableName().equals(
    +                env.getRegion().getTableDesc().getNameAsString())) {
    +                continue;
    +            }
    --- End diff --
    
    Can we conditionally *not* filter our local index rows depending on the 
HBase version?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to