You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2022/02/22 07:33:00 UTC

[jira] [Created] (PHOENIX-6653) Add upgrade tests based on HBase snapshots

Istvan Toth created PHOENIX-6653:
------------------------------------

             Summary: Add upgrade tests based on HBase snapshots
                 Key: PHOENIX-6653
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6653
             Project: Phoenix
          Issue Type: Test
          Components: core
            Reporter: Istvan Toth


Our current upgrade tests operate by downloading older Phoenix versions, and using those to create the "before" state for upgrade.

This limits the upgrade tests to versions that support overlapping HBase versions, which means that there are no upgrade tests for 5.1 for example.

We could instead store HBase snapshots to states (system + test tables) created by older Phoenix versions, and use bulk loading to load them, and run the upgrade tests on that state.

As HBase snapshots are generally portable between versions, this would enable testing of a wide variatey scenarios that are untestable now. (i.e. 4.7 to 5.1, anything to 5.1, 4.16 to 5.1)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)