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-3535) Fix race condition in ConnectionQueryServicesImpl#acquireUpgradeMutex
Date Mon, 19 Dec 2016 23:25:58 GMT

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

Samarth Jain commented on PHOENIX-3535:
---------------------------------------

We are attempting to create a mutex table when we are initializing an instance of ConnectionQueryServicesImpl.


> Fix race condition in ConnectionQueryServicesImpl#acquireUpgradeMutex
> ---------------------------------------------------------------------
>
>                 Key: PHOENIX-3535
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3535
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Samarth Jain
>         Attachments: PHOENIX-3535_v1.patch
>
>
> Conversation on HBASE-17300 revealed that concurrently creating a table, checking for
its existence and performing an operation on it is fraught with races. This race condition
is causing UpgradeIT#testConcurrentUpgradeThrowsUpgradeInProgressException to fail. We need
to figure out a way for not creating/checking existence of the SYSTEM.MUTEX table.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message