lokiore commented on code in PR #2649:
URL: https://github.com/apache/phoenix/pull/2649#discussion_r4458121619


##########
phoenix-core-server/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java:
##########
@@ -980,9 +981,9 @@ public void 
preBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c,
         }
 
         if (StringUtils.isNotBlank(name) && 
haGroupStoreManager.isMutationBlocked(name)) {
-          throw new MutationBlockedIOException(

Review Comment:
   Yes getting haGroupStoreClient can be slow, I added the TODO 😓.
   But we still need to throw both exceptions as client respond differently for 
each exception. Will refactor it a bit more to half the unexpected slowness, as 
you said. Thanks



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to