Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6952

Do not disable normalizer on salted tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 5.2.0, 5.1.3
    • 5.2.0, 5.1.4
    • core
    • None
    • Hide
      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.
      Show
      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.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: