cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaanHoogland <...@git.apache.org>
Subject [GitHub] cloudstack pull request: 4.5.3 upgradepath for master branch
Date Tue, 15 Sep 2015 11:18:46 GMT
Github user DaanHoogland commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/824#discussion_r39498765
  
    --- Diff: engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java ---
    @@ -120,149 +121,151 @@ public DatabaseUpgradeChecker() {
                 new Upgrade2211to2212(), new Upgrade2212to2213(), new Upgrade2213to2214(),
new Upgrade2214to30(),
                 new Upgrade30to301(), new Upgrade301to302(), new Upgrade302to40(), new Upgrade40to41(),
new Upgrade410to420(),
                 new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(),
    -            new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.1", new DbUpgrade[] {new Upgrade221to222(), new UpgradeSnapshot223to224(),
new Upgrade222to224(),
                 new Upgrade224to225(), new Upgrade225to226(), new Upgrade227to228(), new
Upgrade228to229(),
                 new Upgrade229to2210(), new Upgrade2210to2211(), new Upgrade2211to2212(),
new Upgrade2212to2213(),
                 new Upgrade2213to2214(), new Upgrade2214to30(), new Upgrade30to301(), new
Upgrade301to302(), new Upgrade302to40(),
                 new Upgrade40to41(), new Upgrade410to420(), new Upgrade420to421(), new Upgrade421to430(),
new Upgrade430to440(),
    -            new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new
Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new
Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.2", new DbUpgrade[] {new Upgrade222to224(), new UpgradeSnapshot223to224(),
new Upgrade224to225(),
                 new Upgrade225to226(), new Upgrade227to228(), new Upgrade228to229(), new
Upgrade229to2210(),
                 new Upgrade2210to2211(), new Upgrade2211to2212(), new Upgrade2212to2213(),
new Upgrade2213to2214(),
                 new Upgrade2214to30(), new Upgrade30to301(), new Upgrade301to302(), new Upgrade302to40(),
new Upgrade40to41(), new Upgrade410to420(), new Upgrade420to421(),
    -            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.3", new DbUpgrade[] {new Upgrade222to224(), new UpgradeSnapshot223to224(),
new Upgrade224to225(),
                 new Upgrade225to226(), new Upgrade227to228(), new Upgrade228to229(), new
Upgrade229to2210(),
                 new Upgrade2210to2211(), new Upgrade2211to2212(), new Upgrade2212to2213(),
new Upgrade2213to2214(),
                 new Upgrade2214to30(), new Upgrade30to301(), new Upgrade301to302(), new Upgrade302to40(),
new Upgrade40to41(), new Upgrade410to420(), new Upgrade420to421(),
    -            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.4", new DbUpgrade[] {new Upgrade224to225(), new Upgrade225to226(),
new Upgrade227to228(),
                 new Upgrade228to229(), new Upgrade229to2210(), new Upgrade2210to2211(), new
Upgrade2211to2212(),
                 new Upgrade2212to2213(), new Upgrade2213to2214(), new Upgrade2214to30(),
new Upgrade30to301(),
                 new Upgrade301to302(), new Upgrade302to40(), new Upgrade40to41(), new Upgrade410to420(),
new Upgrade420to421(),
    -            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.5", new DbUpgrade[] {new Upgrade225to226(), new Upgrade227to228(),
new Upgrade228to229(),
                 new Upgrade229to2210(), new Upgrade2210to2211(), new Upgrade2211to2212(),
new Upgrade2212to2213(),
                 new Upgrade2213to2214(), new Upgrade2214to30(), new Upgrade30to301(), new
Upgrade301to302(),
                 new Upgrade302to40(), new Upgrade40to41(), new Upgrade410to420(), new Upgrade420to421(),
new Upgrade421to430(),
    -            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new
Upgrade453to460()});
     
             _upgradeMap.put("2.2.6", new DbUpgrade[] {new Upgrade227to228(), new Upgrade228to229(),
new Upgrade229to2210(),
                 new Upgrade2210to2211(), new Upgrade2211to2212(), new Upgrade2212to2213(),
new Upgrade2213to2214(),
                 new Upgrade2214to30(), new Upgrade30to301(), new Upgrade301to302(), new Upgrade302to40(),
new Upgrade40to41(),
                 new Upgrade410to420(), new Upgrade420to421(),
    -            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.7", new DbUpgrade[] {new Upgrade227to228(), new Upgrade228to229(),
new Upgrade229to2210(),
                 new Upgrade2210to2211(), new Upgrade2211to2212(), new Upgrade2212to2213(),
                 new Upgrade2213to2214(), new Upgrade2214to30(), new Upgrade30to301(), new
Upgrade301to302(), new Upgrade302to40(), new Upgrade40to41(),
                 new Upgrade410to420(),
                 new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(),
    -            new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.8", new DbUpgrade[] {new Upgrade228to229(), new Upgrade229to2210(),
new Upgrade2210to2211(),
                 new Upgrade2211to2212(), new Upgrade2212to2213(), new Upgrade2213to2214(),
new Upgrade2214to30()
                 , new Upgrade30to301(), new Upgrade301to302(), new Upgrade302to40(), new
Upgrade40to41(), new Upgrade410to420(), new Upgrade420to421(),
    -            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.9", new DbUpgrade[] {new Upgrade229to2210(), new Upgrade2210to2211(),
new Upgrade2211to2212(),
                 new Upgrade2212to2213(), new Upgrade2213to2214(), new Upgrade2214to30(),
new Upgrade30to301(),
                 new Upgrade301to302(), new Upgrade302to40(), new Upgrade40to41(), new Upgrade410to420(),
new Upgrade420to421(),
    -            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.10", new DbUpgrade[] {new Upgrade2210to2211(), new Upgrade2211to2212(),
new Upgrade2212to2213(),
                 new Upgrade2213to2214(), new Upgrade2214to30(), new Upgrade30to301(), new
Upgrade301to302(), new Upgrade302to40(),
                 new Upgrade40to41(), new Upgrade410to420(), new Upgrade420to421(), new Upgrade421to430(),
new Upgrade430to440(),
    -            new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new
Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new
Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.12", new DbUpgrade[] {new Upgrade2212to2213(), new Upgrade2213to2214(),
new Upgrade2214to30(),
                 new Upgrade30to301(), new Upgrade301to302(), new Upgrade302to40(), new Upgrade40to41(),
new Upgrade410to420(), new Upgrade420to421(), new Upgrade421to430(),
    -            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new
Upgrade453to460()});
     
             _upgradeMap.put("2.2.13", new DbUpgrade[] {new Upgrade2213to2214(), new Upgrade2214to30(),
new Upgrade30to301(),
                 new Upgrade301to302(), new Upgrade302to40(), new Upgrade40to41(), new Upgrade410to420(),
new Upgrade420to421(),
    -            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.14", new DbUpgrade[] {new Upgrade2214to30(), new Upgrade30to301(),
new Upgrade301to302(),
                 new Upgrade302to40(), new Upgrade40to41(), new Upgrade410to420(), new Upgrade420to421(),
new Upgrade421to430(),
    -            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new
Upgrade453to460()});
     
             _upgradeMap.put("3.0.0", new DbUpgrade[] {new Upgrade30to301(), new Upgrade301to302(),
new Upgrade302to40(),
                 new Upgrade40to41(), new Upgrade410to420(),
    -            new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new
Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new
Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("3.0.1", new DbUpgrade[] {new Upgrade301to302(), new Upgrade302to40(),
new Upgrade40to41(), new Upgrade410to420(), new Upgrade420to421(),
    -            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("3.0.2", new DbUpgrade[] {new Upgrade302to40(), new Upgrade40to41(),
new Upgrade410to420(), new Upgrade420to421(), new Upgrade421to430(),
    -            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new
Upgrade453to460()});
     
    -        _upgradeMap.put("4.0.0", new DbUpgrade[] {new Upgrade40to41(), new Upgrade410to420(),
new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to460()});
    +        _upgradeMap.put("4.0.0", new DbUpgrade[] {new Upgrade40to41(), new Upgrade410to420(),
new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.0.1", new DbUpgrade[] {new Upgrade40to41(), new Upgrade410to420(),
new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to460()});
    +        _upgradeMap.put("4.0.1", new DbUpgrade[] {new Upgrade40to41(), new Upgrade410to420(),
new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.0.2", new DbUpgrade[] {new Upgrade40to41(), new Upgrade410to420(),
new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to460()});
    +        _upgradeMap.put("4.0.2", new DbUpgrade[] {new Upgrade40to41(), new Upgrade410to420(),
new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.1.0", new DbUpgrade[] {new Upgrade410to420(), new Upgrade420to421(),
new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(),
new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +        _upgradeMap.put("4.1.0", new DbUpgrade[] {new Upgrade410to420(), new Upgrade420to421(),
new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(),
new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(),
new Upgrade453to460()});
     
    -        _upgradeMap.put("4.1.1", new DbUpgrade[] {new Upgrade410to420(), new Upgrade420to421(),
new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(),
new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +        _upgradeMap.put("4.1.1", new DbUpgrade[] {new Upgrade410to420(), new Upgrade420to421(),
new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(),
new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(),
new Upgrade453to460()});
     
    -        _upgradeMap.put("4.2.0", new DbUpgrade[] {new Upgrade420to421(), new Upgrade421to430(),
new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(),
new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +        _upgradeMap.put("4.2.0", new DbUpgrade[] {new Upgrade420to421(), new Upgrade421to430(),
new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(),
new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.2.1", new DbUpgrade[] {new Upgrade421to430(), new Upgrade430to440(),
new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(),
new Upgrade451to452(), new Upgrade452to460()});
    +        _upgradeMap.put("4.2.1", new DbUpgrade[] {new Upgrade421to430(), new Upgrade430to440(),
new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(),
new Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.3.0", new DbUpgrade[] {new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to460()});
    +        _upgradeMap.put("4.3.0", new DbUpgrade[] {new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.3.1", new DbUpgrade[] {new Upgrade431to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to460()});
    +        _upgradeMap.put("4.3.1", new DbUpgrade[] {new Upgrade431to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.3.2", new DbUpgrade[] {new Upgrade432to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to460()});
    +        _upgradeMap.put("4.3.2", new DbUpgrade[] {new Upgrade432to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.4.0", new DbUpgrade[] {new Upgrade440to441(), new Upgrade441to442(),
new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +        _upgradeMap.put("4.4.0", new DbUpgrade[] {new Upgrade440to441(), new Upgrade441to442(),
new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(),
new Upgrade453to460()});
     
    -        _upgradeMap.put("4.4.1", new DbUpgrade[] {new Upgrade441to442(), new Upgrade442to450(),
new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460() });
    +        _upgradeMap.put("4.4.1", new DbUpgrade[] {new Upgrade441to442(), new Upgrade442to450(),
new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()
});
     
    -        _upgradeMap.put("4.4.2", new DbUpgrade[] {new Upgrade442to450(), new Upgrade450to451(),
new Upgrade451to452(), new Upgrade452to460()});
    +        _upgradeMap.put("4.4.2", new DbUpgrade[] {new Upgrade442to450(), new Upgrade450to451(),
new Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.4.3", new DbUpgrade[] {new Upgrade443to450(), new Upgrade450to451(),
new Upgrade451to452(), new Upgrade452to460()});
    +        _upgradeMap.put("4.4.3", new DbUpgrade[] {new Upgrade443to450(), new Upgrade450to451(),
new Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.4.4", new DbUpgrade[] {new Upgrade444to450(), new Upgrade450to451(),
new Upgrade451to452(), new Upgrade452to460()});
    +        _upgradeMap.put("4.4.4", new DbUpgrade[] {new Upgrade444to450(), new Upgrade450to451(),
new Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.5.0", new DbUpgrade[] {new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to460()});
    +        _upgradeMap.put("4.5.0", new DbUpgrade[] {new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to453(), new Upgrade453to460()});
     
    -        _upgradeMap.put("4.5.1", new DbUpgrade[] {new Upgrade451to452(), new Upgrade452to460()});
    +        _upgradeMap.put("4.5.1", new DbUpgrade[] {new Upgrade451to452(), new Upgrade452to453(),
new Upgrade453to460()});
     
    -        _upgradeMap.put("4.5.2", new DbUpgrade[] {new Upgrade452to460()});
    +        _upgradeMap.put("4.5.2", new DbUpgrade[] {new Upgrade452to453(), new Upgrade453to460()});
    +
    +        _upgradeMap.put("4.5.3", new DbUpgrade[] {new Upgrade453to460()});
     
             //CP Upgrades
             _upgradeMap.put("3.0.3", new DbUpgrade[] {new Upgrade303to304(), new Upgrade304to305(),
new Upgrade305to306(), new Upgrade306to307(), new Upgrade307to410(),
    -            new Upgrade410to420(), new Upgrade420to421(), new Upgrade421to430(), new
Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new
Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade410to420(), new Upgrade420to421(), new Upgrade421to430(), new
Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new
Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("3.0.4", new DbUpgrade[] {new Upgrade304to305(), new Upgrade305to306(),
new Upgrade306to307(), new Upgrade307to410(), new Upgrade410to420(),
    -            new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new
Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new
Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("3.0.5", new DbUpgrade[] {new Upgrade305to306(), new Upgrade306to307(),
new Upgrade307to410(), new Upgrade410to420(), new Upgrade420to421(),
    -            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to460()});
    +            new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(), new
Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new
Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("3.0.6", new DbUpgrade[] {new Upgrade306to307(), new Upgrade307to410(),
new Upgrade410to420(), new Upgrade420to421(), new Upgrade421to430(),
    -            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade430to440(), new Upgrade440to441(), new Upgrade441to442(), new
Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(), new Upgrade452to453(), new
Upgrade453to460()});
     
    -        _upgradeMap.put("3.0.7", new DbUpgrade[] {new Upgrade307to410(), new Upgrade410to420(),
new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to460()});
    +        _upgradeMap.put("3.0.7", new DbUpgrade[] {new Upgrade307to410(), new Upgrade410to420(),
new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441(),
new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new Upgrade451to452(),
new Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.15", new DbUpgrade[] {new Upgrade2214to30(), new Upgrade30to301(),
new Upgrade301to302(),
                 new Upgrade302to303(), new Upgrade303to304(), new Upgrade304to305(), new
Upgrade305to306(), new Upgrade306to307(), new Upgrade307to410(),
                 new Upgrade410to420(),
    -            new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new
Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new
Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
     
             _upgradeMap.put("2.2.16", new DbUpgrade[] {new Upgrade2214to30(), new Upgrade30to301(),
new Upgrade301to302(),
                 new Upgrade302to303(), new Upgrade303to304(), new Upgrade304to305(), new
Upgrade305to306(), new Upgrade306to307(), new Upgrade307to410(),
                 new Upgrade410to420(),
    -            new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new
Upgrade451to452(), new Upgrade452to460()});
    +            new Upgrade420to421(), new Upgrade421to430(), new Upgrade430to440(), new
Upgrade440to441(), new Upgrade441to442(), new Upgrade442to450(), new Upgrade450to451(), new
Upgrade451to452(), new Upgrade452to453(), new Upgrade453to460()});
    --- End diff --
    
    This method is going to work , unless a 4.6.0 will be out before 4.5.3. That is why I
commented. So you second method is more robust, in case 4.6.0 and 4.5.3 are racing it off.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message