phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samarth Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3995) Use medium priority for UPSERT SELECT distributed across cluster
Date Fri, 14 Jul 2017 01:44:00 GMT

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

Samarth Jain commented on PHOENIX-3995:
---------------------------------------

Yes, that covers it.

> Use medium priority for UPSERT SELECT distributed across cluster
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-3995
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3995
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Samarth Jain
>             Fix For: 4.12.0
>
>
> An UPSERT SELECT that is running on the server-side should use a medium priority (lower
than index priority but higher than normal priority) to prevent deadlocks. If we use the index
priority, then there's a danger of deadlocks occurring if the table being upserted into also
as indexes (as the index updates would be processed at the index priority).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message