[
https://issues.apache.org/jira/browse/PHOENIX-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16614416#comment-16614416
]
ASF GitHub Bot commented on PHOENIX-4875:
-----------------------------------------
GitHub user ChinmaySKulkarni opened a pull request:
https://github.com/apache/phoenix/pull/348
PHOENIX-4875: Don't acquire a mutex while dropping a table and while
creating a view
- Removed acquiring mutex in create view and drop table code path
- Modified test accordingly
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ChinmaySKulkarni/phoenix PHOENIX-4875
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/348.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #348
----
commit dd00d09ea157dd5db9ffb67af9090d747454b2b4
Author: Chinmay Kulkarni <chinmayskulkarni@...>
Date: 2018-09-12T04:40:45Z
PHOENIX-4875: Don't acquire a mutex while dropping a table and while
creating a view
----
> Don't acquire a mutex while dropping a table and while creating a view
> ----------------------------------------------------------------------
>
> Key: PHOENIX-4875
> URL: https://issues.apache.org/jira/browse/PHOENIX-4875
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Thomas D'Silva
> Assignee: Chinmay Kulkarni
> Priority: Major
>
> Acquiring this mutex will slow down view creation and is not required.
> This was done to prevent a base table being dropped while creating a view at
> the same time. However even if this happens the next time a view is resolved
> the user will get a TableNotFoundException.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)