You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Priyank Porwal (JIRA)" <ji...@apache.org> on 2019/08/09 23:31:00 UTC

[jira] [Commented] (PHOENIX-5437) Disallow explicit UPSERT/DELETE from Indexes

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

Priyank Porwal commented on PHOENIX-5437:
-----------------------------------------

[~kozdemir] Thoughts on this? I believe it is important not to write index rows outside of the processors logic to maintain consistency and correctness.

> Disallow explicit UPSERT/DELETE from Indexes
> --------------------------------------------
>
>                 Key: PHOENIX-5437
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5437
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 5.0.0, 4.15.0
>            Reporter: Priyank Porwal
>            Priority: Minor
>
> Currently, Phoenix users can do direct UPSERT/DELETE into indexes directly. This feels like a functionality that could be mis-used or used inadvertently leading to indexes going out of sync with the data table/views; that we are trying hard to be consistent. Such direct mutations on indexes should be blocked.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)