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

    https://github.com/apache/phoenix/pull/168#discussion_r63463618
  
    --- 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 --
    
    Yes we should do that. Currently made a patch without HBASE-15600 so once 
it's ready then will add condition check.


---
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