You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Vincent Poon (JIRA)" <ji...@apache.org> on 2018/01/17 00:05:00 UTC

[jira] [Created] (PHOENIX-4531) Delete on a table with a global mutable index can issue client-side deletes against the index

Vincent Poon created PHOENIX-4531:
-------------------------------------

             Summary: Delete on a table with a global mutable index can issue client-side deletes against the index
                 Key: PHOENIX-4531
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4531
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 4.13.0
         Environment: For a table with a global mutable index, I found the following result in client-side deletes against both the data table and index table.

"DELETE FROM data_table" 

"DELETE FROM data_table WHERE indexed_col='v'"

We only need the delete to be issued against the data table, because

1) It's redundant since a delete against the index will be issued on the server side when we process the delete of the data table row

2) Deletes issued from the client-side won't have the index failure policy
            Reporter: Vincent Poon
            Assignee: Vincent Poon






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)