----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/47985/#review135427 -----------------------------------------------------------
Ship it! Ship It! - Laszlo Puskas On May 27, 2016, 8:54 p.m., Balázs Bence Sári wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/47985/ > ----------------------------------------------------------- > > (Updated May 27, 2016, 8:54 p.m.) > > > Review request for Ambari, Jonathan Hurley, Laszlo Puskas, Nate Cole, Oliver > Szabo, Sandor Magyari, and Sebastian Toader. > > > Bugs: AMBARI-16939 > https://issues.apache.org/jira/browse/AMBARI-16939 > > > Repository: ambari > > > Description > ------- > > Some 2.2.0 installations carry old (pre Ambari 1.5) FK constraint names in > their DB schema. Upgrade script knows the constraints under a different name > so can't drop them. Fix tries to drop the constraint with both their old and > new names. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java > dbbf477 > > Diff: https://reviews.apache.org/r/47985/diff/ > > > Testing > ------- > > - Run all unit tests in ambari-server, all passed > - Manually tested upgrading a 2.2.0 cluster having the old constraint names > to 2.4 > - Manually tested upgrading a 2.2.0 cluster having the new constraint names > to 2.4 > > > Thanks, > > Balázs Bence Sári > >