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

Geoffrey Jacoby commented on PHOENIX-3789:
------------------------------------------

It appears that the preMutateBatch code can make RPCs, but this is my first 
time in the indexer code so I'd defer to [~giacomotaylor] on this. It calls 
doPre(), which calls IndexWriter.write(), which calls IndexCommitter.write(), 
which is pluggable but in the default ParallelWriterIndexCommitter it appears 
to be making calls to HTableInterface.batch().  

> 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