You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Viraj Jasani (Jira)" <ji...@apache.org> on 2021/05/21 16:38:00 UTC

[jira] [Updated] (PHOENIX-5497) When dropping a view, use the PTable for generating delete mutations for links rather than scanning SYSTEM.CATALOG

     [ https://issues.apache.org/jira/browse/PHOENIX-5497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viraj Jasani updated PHOENIX-5497:
----------------------------------
    Fix Version/s:     (was: 4.16.1)
                   4.16.2
                   5.1.2
                   5.2.0

> When dropping a view, use the PTable for generating delete mutations for links rather than scanning SYSTEM.CATALOG
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-5497
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5497
>             Project: Phoenix
>          Issue Type: Sub-task
>    Affects Versions: 4.15.0, 5.1.0
>            Reporter: Chinmay Kulkarni
>            Priority: Major
>             Fix For: 4.17.0, 5.2.0, 5.1.2, 4.16.2
>
>
> When dropping a view, we should generate the delete markers for the parent->child links using the view and parent's PTable rather than by issuing a scan on SYSTEM.CATALOG (see [this|https://github.com/apache/phoenix/blob/207ab526ee511a19ac287f61fbd2cef268c5038d/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java#L2310]



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