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

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
 ##########
 @@ -952,14 +954,19 @@ private void addCoprocessors(byte[] tableName, 
TableDescriptorBuilder builder, P
                     if 
(newDesc.hasCoprocessor(PhoenixTransactionalIndexer.class.getName())) {
                         
builder.removeCoprocessor(PhoenixTransactionalIndexer.class.getName());
                     }
-                    if (globalIndexerEnabled) {
-                        if 
(!newDesc.hasCoprocessor(IndexRegionObserver.class.getName())) {
+                    if (indexRegionObserverEnabled) {
+                                               if 
(newDesc.hasCoprocessor(Indexer.class.getName())) {
 
 Review comment:
   Thanks for noticing. Didn't realize it in the local diff. 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to