[
https://issues.apache.org/jira/browse/PHOENIX-6673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth updated PHOENIX-6673:
---------------------------------
Attachment: PHOENIX-6673-repro.patch
> Local indexing broken by manually splitting table at arbitrary point
> --------------------------------------------------------------------
>
> Key: PHOENIX-6673
> URL: https://issues.apache.org/jira/browse/PHOENIX-6673
> Project: Phoenix
> Issue Type: Bug
> Components: core
> Affects Versions: 5.2.0
> Reporter: Istvan Toth
> Priority: Major
> Attachments: PHOENIX-6673-repro.patch
>
>
> While working on PHOENIX-6587, I found that splitting tables with local
> indexes on certain points will break the local indexing code, and result in
> incorrect query results.
> When a table is pre-split by Phoenix, or automatically split by HBase, then
> split points always have a minimum length that is equal to the possible
> minimum length of the table rowkey.
> The automatic split always happens at an existing rowkey, and
> SchemaUtil.processSplits() has code that approximates the same behaviour for
> pre-split tables.
> However, it is still possible to split the table manually from HBase at
> points that do not satisfy the above requirement, which breaks local indexing.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)