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

Automatic white list based upgrade from 2.2 to 3.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • None
    • None

    Description

      Auto upgrade tables from Phoenix 2.2.2/2.2.3 format to Phoenix 3.0 format. Note that upgrade is only attempted to be performed once, upon first connection to a cluster. A table is only upgraded if it is white listed based on the following new config property: phoenix.client.autoUpgradeWhiteList

      If this property is not present, no tables will be upgraded. The config property may have the following values:

      • * which means upgrade everything or
      • a comma separated list of fully qualified, case sensitive names (note that by default, Phoenix stores table names in uppercase unless put them in double quotes at DDL time)

      Examples:

        <property>
          <name>phoenix.client.autoUpgradeWhiteList</name>
          <value>*</value> <!- will upgrade all tables ->
        </property>
      
        <property>
          <name>phoenix.client.autoUpgradeWhiteList</name>
          <value>MY_SCHEMA.MY_TABLE, OTHER_TABLE</value>
        </property>
      

      The upgrade is only run once per connection to a cluster (when the SYSTEM.CATALOG is created). If you need to force it to run again after that, you can remove or set to "false" the UpgradeTo30 value that's stored in the metadata of the SYSTEM.CATALOG table.

      Attachments

        1. patch.diff
          46 kB
          James R. Taylor
        2. patch.diff
          45 kB
          James R. Taylor
        3. patch-3.diff
          64 kB
          James R. Taylor
        4. coproc-tweak.diff
          2 kB
          James R. Taylor

        Activity

          People

            jamestaylor James R. Taylor
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: