You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/10/19 13:21:00 UTC

[jira] [Commented] (PHOENIX-6192) UpgradeUtil.syncUpdateCacheFreqAllIndexes() does not use tenant-specific connection to resolve tenant views

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

ASF GitHub Bot commented on PHOENIX-6192:
-----------------------------------------

virajjasani opened a new pull request #928:
URL: https://github.com/apache/phoenix/pull/928


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> UpgradeUtil.syncUpdateCacheFreqAllIndexes() does not use tenant-specific connection to resolve tenant views
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-6192
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6192
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 5.0.0, 4.15.0
>            Reporter: Chinmay Kulkarni
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 5.1.0, 4.16.0
>
>
> In UpgradeUtil.synchUpdateCacheFreqAllIndexes(), we try to retrieve all child views of each table to make all the view index UPDATE_CACHE_FREQUENCY property values in sync with the view.
> Here however, when iterating over the parent->child link results, we don't use a tenant-specific connection to retrieve a tenant view leading to the PTable resolution failing (see [this|https://github.com/apache/phoenix/blob/264310bd1e6c14996c3cfb11557fc66a012cb01b/phoenix-core/src/main/java/org/apache/phoenix/util/UpgradeUtil.java#L1369])



--
This message was sent by Atlassian Jira
(v8.3.4#803005)