You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Chinmay Kulkarni (Jira)" <ji...@apache.org> on 2020/11/23 18:37:00 UTC

[jira] [Comment Edited] (PHOENIX-6155) Prevent doing direct upserts into SYSTEM.TASK from the client

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

Chinmay Kulkarni edited comment on PHOENIX-6155 at 11/23/20, 6:36 PM:
----------------------------------------------------------------------

[~vjasani]Is the addendum required only for 4.x? i.e. PHOENIX-6155.4.x.005addendum.patch? +1 for the patch btw


was (Author: ckulkarni):
[~vjasani]Is the addendum required only for 4.x? i.e. PHOENIX-6155.4.x.005addendum.patch

> Prevent doing direct upserts into SYSTEM.TASK from the client
> -------------------------------------------------------------
>
>                 Key: PHOENIX-6155
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6155
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 5.0.0, 4.15.0
>            Reporter: Chinmay Kulkarni
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 5.1.0, 4.16.0
>
>         Attachments: PHOENIX-6155.4.x.000.patch, PHOENIX-6155.4.x.001.patch, PHOENIX-6155.4.x.002.patch, PHOENIX-6155.4.x.003.patch, PHOENIX-6155.4.x.004.patch, PHOENIX-6155.4.x.005addendum.patch, PHOENIX-6155.master.000.patch
>
>
> In environments with namespace-mapping enabled, we will have to grant write access to clients in order to make direct upserts into SYSTEM.TASK. Currently we add a task from the client-side [here|https://github.com/apache/phoenix/blob/4.x/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java#L4654]. In order to implement other Jiras like [PHOENIX-6154|https://issues.apache.org/jira/browse/PHOENIX-6154] we also may need to interact with the SYSTEM.TASK table from the client-side.
> Instead of doing direct upserts into this table, we should add an endpoint on SYSTEM.TASK and clients should interact with that.



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