You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/01/27 23:12:39 UTC

[jira] [Created] (PHOENIX-2635) Partial index rebuild doesn't delete prior index row

James Taylor created PHOENIX-2635:
-------------------------------------

             Summary: Partial index rebuild doesn't delete prior index row
                 Key: PHOENIX-2635
                 URL: https://issues.apache.org/jira/browse/PHOENIX-2635
             Project: Phoenix
          Issue Type: Bug
            Reporter: James Taylor


The partial rebuild index feature for mutable secondary indexes does not do the correct index maintenance. We currently only insert the new index rows based on the current data row values which would not correctly remove the previous index row (thus leading to an invalid index). Instead, we should replay the data row mutations so that the coprocessors generate the correct deletes and updates.

Also, instead of *every* region running the partial index rebuild, we should have each region only replay their own data mutations so that we're not duplicating work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)