[
https://issues.apache.org/jira/browse/PHOENIX-3789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15969503#comment-15969503
]
Andrew Purtell commented on PHOENIX-3789:
-----------------------------------------
+1
[~giacomotaylor]
I think the change is needed so we don't see index updates blocking the primary
operation while under rowlock, with those updates themselves starved for
handlers for cross server RPC.
For index types where updates are guaranteed to not leave the same regionserver
they could be brought back under row lock if that makes sense.
> 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
>
>
> 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)