You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/11/04 07:44:00 UTC
[jira] [Commented] (PHOENIX-6586) Set NORMALIZATION_ENABLED to
false on salted tables
[ https://issues.apache.org/jira/browse/PHOENIX-6586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438528#comment-17438528 ]
Istvan Toth commented on PHOENIX-6586:
--------------------------------------
This is not going to stop users manually merging salted regions and breaking the table, but at least it's not going to happen automatically.
> Set NORMALIZATION_ENABLED to false on salted tables
> ---------------------------------------------------
>
> Key: PHOENIX-6586
> URL: https://issues.apache.org/jira/browse/PHOENIX-6586
> Project: Phoenix
> Issue Type: Bug
> Components: core
> Affects Versions: 4.16.0, 5.2.0
> Reporter: Istvan Toth
> Priority: Critical
>
> The salting code relies on having only a single salt value in each region.
> The HBase normalizer doesn't know about this, and will merge regions for salted tables which breaks behaviour.
> I proposee explicitly disableing the normalizer on slated tables.
> Another solution would be adding something like SplitPolicy for the normalizer, but that requires HBase work first, and does not help with existing HBase versions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)