[ 
https://issues.apache.org/jira/browse/PHOENIX-6952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth updated PHOENIX-6952:
---------------------------------
    Release Note: 
Phoenix will no longer disable the normalizer on newly created salted tables, 
and will allow enabling the normalizer on salted tables.

It is highly recommended to review all salted Phoenix tables, and manually set 
NORMALIZATION_ENABLED=true on them, to avoid regions growing uncontrollably.
It is not possible to determine whether NORMALIZATION_ENABLED=false was 
automatically set by Phoenix, or was manually set by some other reason, i.e. 
because
merging/splitting is handled manually, so care must be taken not to revert 
normalization where it was set explcitly by the user.

Also consider setting MERGE_ENABLED=false on salted Phoenix tables. While it is 
no longer necessary for correct operation, it may improve performance in some 
case.

  was:
Phoenix will no longer disable the normalizer on newly created salted tables, 
and will allow enabling the normalizer on salted tables.

It is highly recommended to review all salted Phoenix tables, and manually set 
NORMALIZATION_ENABLED=true on them, to avoid regions growing uncontrollably.

Also consider setting MERGE_ENABLED=false on salted Phoenix tables. While it is 
no longer necessary for correct operation, it may improve performance in some 
case.


> Do not disable normalizer on salted tables
> ------------------------------------------
>
>                 Key: PHOENIX-6952
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6952
>             Project: Phoenix
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 5.2.0, 5.1.3
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Blocker
>             Fix For: 5.2.0, 5.1.4
>
>
> We have taken great lengths to disable the normalizer on salte tables to 
> avoid PHOENIX-4096.
> While disabling the normalizer helps with that, it also disables automatic 
> splitting, which can lead to regions growing uncontrollably, and causing all 
> kind of failures and data loss.
> A better solution would be disabling merges on such tables instead. The 
> normalizer does check that flag. It would also restrict manual merging, but 
> that can be worked around by toggling the flag manually, and is a lesser 
> problem than regions growin uncontrollably.
> Alternatively, if we can fix PHOENIX-6910, then we can remove the normalizer 
> restrictions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to