phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4694) Prevent locking of parent table when dropping view to reduce contention
Date Tue, 24 Apr 2018 01:11:00 GMT

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

James Taylor commented on PHOENIX-4694:
---------------------------------------

Thanks for the review, [~tdsilva]. I've attached a v2 patch that does as you've suggested.

> Prevent locking of parent table when dropping view to reduce contention
> -----------------------------------------------------------------------
>
>                 Key: PHOENIX-4694
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4694
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Priority: Major
>             Fix For: 4.14.0, 5.0.0
>
>         Attachments: PHOENIX-4694.patch, PHOENIX-4694_v2.patch
>
>
> When there are many views with the same parent table, there's a lot of contention when
adding new views and dropping existing views. The lock is only necessary when creating/dropping
indexes, so should be removed in the case of views.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message