Chinmay Kulkarni created PHOENIX-6155:
-----------------------------------------

             Summary: 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
            Reporter: Chinmay Kulkarni


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)

Reply via email to