You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2019/06/19 23:05:46 UTC

[GitHub] [phoenix] kadirozde commented on a change in pull request #522: PHOENIX-5359: Remove (Global-Indexing)new coprocessors in CQSI#addCop…

kadirozde commented on a change in pull request #522: PHOENIX-5359: Remove (Global-Indexing)new coprocessors in CQSI#addCop…
URL: https://github.com/apache/phoenix/pull/522#discussion_r295557724
 
 

 ##########
 File path: phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
 ##########
 @@ -911,7 +911,9 @@ private void addCoprocessors(byte[] tableName, TableDescriptorBuilder builder, P
                     QueryServicesOptions.DEFAULT_INDEX_REGION_OBSERVER_ENABLED);
 
             if (tableType == PTableType.INDEX && !isTransactional) {
-                if (globalIndexerEnabled && !newDesc.hasCoprocessor(GlobalIndexChecker.class.getName())) {
+                if (!globalIndexerEnabled && newDesc.hasCoprocessor(GlobalIndexChecker.class.getName())) {
 
 Review comment:
   Would you please rename globalIndexerEnabled as indexRegionObserverEnabled? I have forgotten to rename it

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services