> On April 11, 2015, 4:11 a.m., Adam B wrote: > > Did you ever (manually?) "Test for upgrade path"?
Sorry for not replying earlier. I tested manually with 0.22.0 and HEAD. I tried combinations of old/new pairs of master, slave and test-framework. I also tried Niklas's upgrade script (https://reviews.apache.org/r/31645/) but had to make a small modification to it (possibly a bug in the script itself). Everything seemed to work fine. - Kapil ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/32583/#review79798 ----------------------------------------------------------- On April 7, 2015, 12:59 p.m., Kapil Arya wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/32583/ > ----------------------------------------------------------- > > (Updated April 7, 2015, 12:59 p.m.) > > > Review request for mesos, Adam B and Niklas Nielsen. > > > Bugs: MESOS-2558 > https://issues.apache.org/jira/browse/MESOS-2558 > > > Repository: mesos > > > Description > ------- > > The new preferred location for FrameworkID is FrameworkInfo.id. This patchset > achieves this goal by incrementally deprecating other locations for > FrameworkID. > > Here is a plan to deal with the upgrade path: > > For this release (N), we still keep setting RunTaskMessage::framework_id > - this would handle older Slaves with newer Master. > - added code to handle it being unset in the Slave (handles older > Master with newer Slaves). > > In the following release (N+1), stop reading/setting > RunTaskMessage::framework_id > - the previous version would handle the unset case. > > In release N+2, remove the field altogether: > - the previous release is not setting/reading it. > > > Diffs > ----- > > src/messages/messages.proto 97c45c01dfcea38b1ae555c036d61e10c152c2c8 > src/slave/slave.cpp c7e65a6c095963feaa9d5fdbb519c68f8f761d16 > > Diff: https://reviews.apache.org/r/32583/diff/ > > > Testing > ------- > > make check. > > TODO: Test for upgrade path. > > > Thanks, > > Kapil Arya > >
