You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Fateh Singh (Jira)" <ji...@apache.org> on 2025/05/01 06:16:00 UTC

[jira] [Created] (RANGER-5205) Liquibase based Zero-Downtime-Upgrade framework for Ranger

Fateh Singh created RANGER-5205:
-----------------------------------

             Summary: Liquibase based Zero-Downtime-Upgrade framework for Ranger
                 Key: RANGER-5205
                 URL: https://issues.apache.org/jira/browse/RANGER-5205
             Project: Ranger
          Issue Type: New Feature
          Components: kms, Ranger
            Reporter: Fateh Singh
            Assignee: Fateh Singh


Current flow for upgrade:
 # Take database backup
 # Stop services (ranger/kms)
 # Upgrade ranger database by applying schema changes and java patches 
 # Upgrade the bits with new version and restart the services.



If now something goes wrong after the upgrade after some time of running the services, the user now has to restore the database from the backup before upgrade before restoring the old bits and restarting the services.

Key limitations in the current framework for db upgrade:
1) Leads to downtime 
2) Can lead to loss of data if need for downgrade arises 

 

 



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