priyankporwal 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_r295634092
##########
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:
Please fix the indentation. It got really messed up after latest forced push.
----------------------------------------------------------------
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