You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/03/04 18:36:00 UTC

[jira] [Created] (PHOENIX-6405) Disallow bulk loading into non-empty tables with secondary indexes

Istvan Toth created PHOENIX-6405:
------------------------------------

             Summary: Disallow bulk loading into non-empty tables with secondary indexes
                 Key: PHOENIX-6405
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6405
             Project: Phoenix
          Issue Type: New Feature
          Components: core
            Reporter: Istvan Toth


It is very easy to end up with inconsistent indexes when bulk loading data into non-empty tables with secondary indexes.

Checking if the tables are empty, and refusing to do the bulk load in this case, unless a sufficiently scary override like *--corruptindexes* is also provided would probably reduce the risk.



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