[ 
https://issues.apache.org/jira/browse/PHOENIX-3789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15969540#comment-15969540
 ] 

Andrew Purtell edited comment on PHOENIX-3789 at 4/14/17 9:29 PM:
------------------------------------------------------------------

bq. I see in Indexer there are also overrides in preBatchMutate that are also 
under row lock. Any concerns there?

Do they lead to RPC to remote servers under lock? If so then yes, these need to 
move to the other hook too. 


was (Author: apurtell):
bq. I see in Indexer there are also overrides in preBatchMutate that are also 
under row lock. Any concerns there?

Do they lead to RPC to remote servers? If so then yes, these need to move to 
the other hook too. 

> Execute cross region index maintenance calls outside of row lock
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-3789
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3789
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: James Taylor
>             Fix For: 4.11.0, 4.10.1
>
>         Attachments: PHOENIX-3789.patch, PHOENIX-3789_v2.patch
>
>
> Making cross region server calls while the row is locked can lead to a 
> greater chance of resource starvation. We can use the 
> postBatchMutateIndispensably hook instead of the postBatchMutate call for our 
> processing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to