[
https://issues.apache.org/jira/browse/PHOENIX-6405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richárd Antal resolved PHOENIX-6405.
------------------------------------
Fix Version/s: 5.1.3
4.16.2
5.2.0
4.17.0
Assignee: Richárd Antal
Resolution: Fixed
> Disallow bulk loading into non-empty tables with global 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
> Assignee: Richárd Antal
> Priority: Major
> Fix For: 4.17.0, 5.2.0, 4.16.2, 5.1.3
>
>
> It is very easy to end up with inconsistent indexes when bulk loading data
> into non-empty tables with global secondary indexes.
> Checking if the table is empty, and refusing to do the bulk load if it is
> not, unless a sufficiently scary override like *--corruptindexes* is also
> provided would probably reduce the risk.
> We should also check if the same problem exists for local indexes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)