You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ozone.apache.org by Aravindan Vijayan <av...@cloudera.com.INVALID> on 2021/04/19 17:04:23 UTC

[DISCUSS] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Hello all,

I would like to propose merging the work done for supporting non rolling
upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone master
branch.

As part of the upgrade framework, the following have been added

   - Ability to create layout features & versions
   - Ability to finalize and upgrade an Ozone cluster, as well as downgrade
   before finalization.
   - Ability to add custom actions to be executed as upgrade hooks in
   different phases.
   - Ability to 'prepare' an Ozone manager quorum for upgrade.

We believe that the branch is ready for merge due to the following reasons

   - We have resolved around 60 JIRAs (including 6 Apache Ratis fixes).
   There are about 3-4 remaining JIRAs that are currently in progress (or
   under review) which are not blockers and are close to completion.
   - The merge checklist has been looked at and filled in at
   https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist
   .
   - A broad range of test cases have been added including unit tests,
   integration tests to perform finalization & upgrade, failure injection
   testing in HDDS layer finalization and acceptance tests to perform a
   prepare operation and a docker based upgrade flow from the last released
   version to current.
   - Sufficient documentation has been added for the design (here
   <https://issues.apache.org/jira/secure/attachment/13023446/Ozone%20Non-Rolling%20Upgrades%20Doc%20v1.2%20%28Implemented%20Design%29.pdf>
   & here
   <https://issues.apache.org/jira/secure/attachment/13015490/OM%20Prepare%20Upgrade.pdf>),
   usage (here
   <https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/feature/how-to-do-a-nonrolling-upgrade.md>)
   and developer primer (here
   <https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/design/upgrade-dev-primer.md>
   ).

There is some work needed to onboard the work done for HDDS-2939 into the
upgrade branch. If that branch is merged first, then the onboarding can be
done before the upgrade branch merge through a single patch.

Please provide your feedback. If there are no objections, I will proceed
with starting a vote thread for merging.

-- 
Thanks & Regards,
Aravindan

Re: [DISCUSS] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Rakesh Radhakrishnan <ra...@apache.org>.
+1 for the merge.

Thank you Aravindan for driving this. Sure, we will work together to handle
HDDS-2939, integration task.

Regards,
Rakesh

On Mon, Apr 19, 2021 at 10:34 PM Aravindan Vijayan
<av...@cloudera.com.invalid> wrote:

> Hello all,
>
> I would like to propose merging the work done for supporting non rolling
> upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone master
> branch.
>
> As part of the upgrade framework, the following have been added
>
>    - Ability to create layout features & versions
>    - Ability to finalize and upgrade an Ozone cluster, as well as downgrade
>    before finalization.
>    - Ability to add custom actions to be executed as upgrade hooks in
>    different phases.
>    - Ability to 'prepare' an Ozone manager quorum for upgrade.
>
> We believe that the branch is ready for merge due to the following reasons
>
>    - We have resolved around 60 JIRAs (including 6 Apache Ratis fixes).
>    There are about 3-4 remaining JIRAs that are currently in progress (or
>    under review) which are not blockers and are close to completion.
>    - The merge checklist has been looked at and filled in at
>
> https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist
>    .
>    - A broad range of test cases have been added including unit tests,
>    integration tests to perform finalization & upgrade, failure injection
>    testing in HDDS layer finalization and acceptance tests to perform a
>    prepare operation and a docker based upgrade flow from the last released
>    version to current.
>    - Sufficient documentation has been added for the design (here
>    <
> https://issues.apache.org/jira/secure/attachment/13023446/Ozone%20Non-Rolling%20Upgrades%20Doc%20v1.2%20%28Implemented%20Design%29.pdf
> >
>    & here
>    <
> https://issues.apache.org/jira/secure/attachment/13015490/OM%20Prepare%20Upgrade.pdf
> >),
>    usage (here
>    <
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/feature/how-to-do-a-nonrolling-upgrade.md
> >)
>    and developer primer (here
>    <
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/design/upgrade-dev-primer.md
> >
>    ).
>
> There is some work needed to onboard the work done for HDDS-2939 into the
> upgrade branch. If that branch is merged first, then the onboarding can be
> done before the upgrade branch merge through a single patch.
>
> Please provide your feedback. If there are no objections, I will proceed
> with starting a vote thread for merging.
>
> --
> Thanks & Regards,
> Aravindan
>

Re: [DISCUSS] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Aravindan Vijayan <av...@cloudera.com.INVALID>.
Thank you for reviewing this Marton!

The --upgrade flag is needed for the OM since it needs to be brought out of
"prepared" state after an upgrade.

Right now, there is no need to prepare an SCM, and hence support has not
been added for that. Hence, there is no --upgrade flag while starting SCM.

SCM HA is compatible with upgrades in the code level. However, we need to
add support to finalize a SCM HA cluster, which can happen only in a
subsequent release (in this release, SCM HA cannot be enabled without
finalization). We are planning to make the scm finalizeupgrade command 'HA
aware' before the end of this release (to be used from the next release).
Will create a JIRA for that soon.

The fix to handle failures in Upgrade Action (HDDS-5118) is very simple and
should be merged in a week. Also, there are no upgrade actions right now
other than the simple SCM HA validation check action.

We will work on getting out the simple fixes for HDDS-5137 and HDDS-5138 as
well.


On Thu, Apr 22, 2021 at 2:11 AM Elek, Marton <el...@apache.org> wrote:

>
> +1 thanks the work to al the contributors.
>
> I am very excited to have this feature as it is required by EC (and some
> other related task). I am looking forward to try it out.
>
> I didn't have time to check the code deeply, but what I have seen
> earlier about the annotation based approach, is very exciting.
>
> I have two technical questions:
>
>
>   1. Is the branch compatible with scm-ha? It's not clear for me why do
> I need to use --upgrade and --downgrade for OM but not for SCM...
>
>
>   2. Which commit is proposed to be merged? For example the reported
> HDDS-5118 seems to be blocker for me (but I also found HDDS-5137 and
> HDDS-5138 during my testing. But I can be wrong).
>
> Thanks,
> Marton
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ozone.apache.org
> For additional commands, e-mail: dev-help@ozone.apache.org
>
>

-- 
Thanks & Regards,
Aravindan

Re: [DISCUSS] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by "Elek, Marton" <el...@apache.org>.
+1 thanks the work to al the contributors.

I am very excited to have this feature as it is required by EC (and some 
other related task). I am looking forward to try it out.

I didn't have time to check the code deeply, but what I have seen 
earlier about the annotation based approach, is very exciting.

I have two technical questions:


  1. Is the branch compatible with scm-ha? It's not clear for me why do 
I need to use --upgrade and --downgrade for OM but not for SCM...


  2. Which commit is proposed to be merged? For example the reported 
HDDS-5118 seems to be blocker for me (but I also found HDDS-5137 and 
HDDS-5138 during my testing. But I can be wrong).

Thanks,
Marton

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ozone.apache.org
For additional commands, e-mail: dev-help@ozone.apache.org


Re: [VOTE] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Attila Doroszlai <ad...@apache.org>.
Thanks Marton for sharing your thoughts.

> which commit is the merge candidate?

I think this is an important question.  The merge vote should be about
a specific commit, similar to releases.  It's a moving target either
way (one's evaluation might be obsolete by the next commit), but at
least it should not happen without notice.

Thanks.

-Attila

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ozone.apache.org
For additional commands, e-mail: dev-help@ozone.apache.org


Re: [VOTE] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by "Elek, Marton" <el...@apache.org>.
-0

While I really appreciate the great work, and I would like to have this 
branch merged, I didn't feel that I got the answer to my previous 
question (which commit is the merge candidate?, is HDDS-5118 a release 
blocker issue?)

It turns out that I have different opinion about "let's finish it on the 
master".

https://twitter.com/anzix/status/1385511955943854084


I am against to merge security issues, licensing issues and build time 
issues to the master. Or any issue which can cause crashes or data 
corruption.

In other words: keeping any release blocked any master with the hope 
that they will be fixed soon.

My rule is simple: would I vote a release with such issues?



I understand that in this case there are only small issue and they can 
be fixed very fast, therefore I couldn't see any reason to not fixing 
them BEFORE the merge (and I would be happy to help to fix them)


Last time we had one simple release blocker issue merged on the master 
(we used -SNAPSHOT dependency required by the more agile development) 
and the release was delayed with 3-4 months (!!!)



Personally I suggest to follow a practice when master is always releasable.

  * If issues can be fixed easily, they should be fixed before merging 
the master.
  * If issues require significant work they shouldn't be merged.


Just to be clear: I am not talking about missing features, I am talking 
about:

  * security issues
  * licensing issues
  * issues which can make cluster failing forever (is this the case with 
HDDS-5118? it sounds very scary for me. This is the only one which seems 
to be a bigger one)
  * build time issues (it will be multiplied with ALL the PR!)

Thanks a lot,
Marton

ps: again, I really appreciate the great work, even if I have different 
opinion about how the work should be finished. I think we must have this 
feature on master and based on my understanding it's a very good 
implementation.

I am talking about release and branch management. And I tried to show 
this respect to all the contributors with sharing my concerns as 
opinions not as binding negative votes.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ozone.apache.org
For additional commands, e-mail: dev-help@ozone.apache.org


Re: [VOTE] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Shashikant Banerjee <sb...@cloudera.com.INVALID>.
+1

Thanks for the work.

Thanks
Shashi

On Fri, Apr 23, 2021 at 8:07 AM Aravindan Vijayan
<av...@cloudera.com.invalid> wrote:

> Since I do not see any objections to the DISCUSS thread, moving this to
> VOTE thread.
>
> On Mon, Apr 19, 2021 at 10:04 AM Aravindan Vijayan <av...@cloudera.com>
> wrote:
>
> > Hello all,
> >
> > I would like to propose merging the work done for supporting non rolling
> > upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone master
> > branch.
> >
> > As part of the upgrade framework, the following have been added
> >
> >    - Ability to create layout features & versions
> >    - Ability to finalize and upgrade an Ozone cluster, as well as
> >    downgrade before finalization.
> >    - Ability to add custom actions to be executed as upgrade hooks in
> >    different phases.
> >    - Ability to 'prepare' an Ozone manager quorum for upgrade.
> >
> > We believe that the branch is ready for merge due to the following
> reasons
> >
> >    - We have resolved around 60 JIRAs (including 6 Apache Ratis fixes).
> >    There are about 3-4 remaining JIRAs that are currently in progress (or
> >    under review) which are not blockers and are close to completion.
> >    - The merge checklist has been looked at and filled in at
> >
> https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist
> >    .
> >    - A broad range of test cases have been added including unit tests,
> >    integration tests to perform finalization & upgrade, failure injection
> >    testing in HDDS layer finalization and acceptance tests to perform a
> >    prepare operation and a docker based upgrade flow from the last
> released
> >    version to current.
> >    - Sufficient documentation has been added for the design (here
> >    <
> https://issues.apache.org/jira/secure/attachment/13023446/Ozone%20Non-Rolling%20Upgrades%20Doc%20v1.2%20%28Implemented%20Design%29.pdf
> >
> >    & here
> >    <
> https://issues.apache.org/jira/secure/attachment/13015490/OM%20Prepare%20Upgrade.pdf
> >),
> >    usage (here
> >    <
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/feature/how-to-do-a-nonrolling-upgrade.md
> >)
> >    and developer primer (here
> >    <
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/design/upgrade-dev-primer.md
> >
> >    ).
> >
> > There is some work needed to onboard the work done for HDDS-2939 into the
> > upgrade branch. If that branch is merged first, then the onboarding can
> be
> > done before the upgrade branch merge through a single patch.
> >
> > Please provide your feedback. If there are no objections, I will proceed
> > with starting a vote thread for merging.
> >
> > --
> > Thanks & Regards,
> > Aravindan
> >
>
>
> --
> Thanks & Regards,
> Aravindan
>

Re: [VOTE] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Mukul Kumar Singh <mk...@gmail.com>.
+1

Thanks,

Mukul


On 21/06/21 8:10 pm, Aravindan Vijayan wrote:
> Hello All,
>
> Circling back to the upgrade branch VOTE thread after fixing issues
> mentioned from last vote, and incorporating changes from HDDS-2939. Please
> refer to the original VOTE mail for the details of the design and
> implementation.
>
> The github feature branch is here:
>   https://github.com/apache/ozone/tree/HDDS-3698-nonrolling-upgrade
>
> The design documents as well as feature documentation is put up in the
> ozone wiki:
> https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist
>
> The merge discussion thread is:
> https://lists.apache.org/thread.html/r463b8f2742994c2f1596541d49d0340c88817958c530bf10694e6a9c%40%3Cdev.ozone.apache.org%3E
>
> Thanks to all contributors for your input into the design, implementing,
> testing and review of this feature.
>
> I am starting with my +1.
>
> *The vote will run for 7 days, ending on June 28th 2021 at 8:00 am PT.*
>
> On Mon, May 17, 2021 at 8:03 AM Elek, Marton <el...@apache.org> wrote:
>
>> Thanks the answer Aravindan.
>>
>>> If large scale changes
>>> are expected after the VOTE, I believe as project PMC/committers we would
>>> let the dev know. I am sure we are not trying to get approval for 'A',
>> and
>>> then merge 'B'.
>> Just let me clarify it: I am not concerned about large changes after
>> VOTE. We already discussed the design and we had a strong agreement.
>>
>> I am concerned about the small issues which can be fixed easily. But
>> here, the power of the community can help: with the following two inputs
>> everybody can help to do a final test:
>>
>>    * at least a basic documentation (we have it)
>>    * A commit proposed to be merged (to make it possible to compare the
>> results)
>>
>> This is very similar to what we do for each release. Just do a final
>> smoke check to be sure we are fine.
>>
>> And similar to a release, one small commit can be a big difference (a
>> wrong LICENSE can be a release blocker, or one very unstable test can be
>> a merge blocker ).
>>
>> That's the reason why I asked for a commit hash: a well-specified plan
>> to vote on. (but as far as I remember I was not the only one...)
>>
>> Thanks again the answer and the great work,
>> Marton
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ozone.apache.org
>> For additional commands, e-mail: dev-help@ozone.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ozone.apache.org
For additional commands, e-mail: dev-help@ozone.apache.org


Re: [VOTE] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Aravindan Vijayan <av...@cloudera.com.INVALID>.
Hello All,

Circling back to the upgrade branch VOTE thread after fixing issues
mentioned from last vote, and incorporating changes from HDDS-2939. Please
refer to the original VOTE mail for the details of the design and
implementation.

The github feature branch is here:
 https://github.com/apache/ozone/tree/HDDS-3698-nonrolling-upgrade

The design documents as well as feature documentation is put up in the
ozone wiki:
https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist

The merge discussion thread is:
https://lists.apache.org/thread.html/r463b8f2742994c2f1596541d49d0340c88817958c530bf10694e6a9c%40%3Cdev.ozone.apache.org%3E

Thanks to all contributors for your input into the design, implementing,
testing and review of this feature.

I am starting with my +1.

*The vote will run for 7 days, ending on June 28th 2021 at 8:00 am PT.*

On Mon, May 17, 2021 at 8:03 AM Elek, Marton <el...@apache.org> wrote:

> Thanks the answer Aravindan.
>
> > If large scale changes
> > are expected after the VOTE, I believe as project PMC/committers we would
> > let the dev know. I am sure we are not trying to get approval for 'A',
> and
> > then merge 'B'.
>
> Just let me clarify it: I am not concerned about large changes after
> VOTE. We already discussed the design and we had a strong agreement.
>
> I am concerned about the small issues which can be fixed easily. But
> here, the power of the community can help: with the following two inputs
> everybody can help to do a final test:
>
>   * at least a basic documentation (we have it)
>   * A commit proposed to be merged (to make it possible to compare the
> results)
>
> This is very similar to what we do for each release. Just do a final
> smoke check to be sure we are fine.
>
> And similar to a release, one small commit can be a big difference (a
> wrong LICENSE can be a release blocker, or one very unstable test can be
> a merge blocker ).
>
> That's the reason why I asked for a commit hash: a well-specified plan
> to vote on. (but as far as I remember I was not the only one...)
>
> Thanks again the answer and the great work,
> Marton
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ozone.apache.org
> For additional commands, e-mail: dev-help@ozone.apache.org
>
>

-- 
Thanks & Regards,
Aravindan

Re: [VOTE] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by "Elek, Marton" <el...@apache.org>.
Thanks the answer Aravindan.

> If large scale changes
> are expected after the VOTE, I believe as project PMC/committers we would
> let the dev know. I am sure we are not trying to get approval for 'A', and
> then merge 'B'.

Just let me clarify it: I am not concerned about large changes after 
VOTE. We already discussed the design and we had a strong agreement.

I am concerned about the small issues which can be fixed easily. But 
here, the power of the community can help: with the following two inputs 
everybody can help to do a final test:

  * at least a basic documentation (we have it)
  * A commit proposed to be merged (to make it possible to compare the 
results)

This is very similar to what we do for each release. Just do a final 
smoke check to be sure we are fine.

And similar to a release, one small commit can be a big difference (a 
wrong LICENSE can be a release blocker, or one very unstable test can be 
a merge blocker ).

That's the reason why I asked for a commit hash: a well-specified plan 
to vote on. (but as far as I remember I was not the only one...)

Thanks again the answer and the great work,
Marton

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ozone.apache.org
For additional commands, e-mail: dev-help@ozone.apache.org


Re: [VOTE] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Aravindan Vijayan <av...@cloudera.com.INVALID>.
Hello Marton,

Apologies for the delayed response, your reply slipped through my attention!

I am not sure which of my statements conveyed the fact that we want to
"stabilize" on the master. We have been continuously stabilizing the branch
for the last 2 months while keeping an eye on regressions, code quality and
CI stability. When we set out to work on HDDS-3698, we had some goals and I
believe those have been met. The bugs that were reported by you are being
worked on or fixed (including the security issue which is only on the
upgrade path, and not on the regular path). IMHO, if everyone waits for
100% correctness to merge a feature, then the master will never be up to
date.

We are working on the (hopefully) final merge from master, and then we will
create the merge commit from the branch after that. If large scale changes
are expected after the VOTE, I believe as project PMC/committers we would
let the dev know. I am sure we are not trying to get approval for 'A', and
then merge 'B'.


On Fri, Apr 23, 2021 at 4:08 AM guimark <gu...@126.com> wrote:

>
>
>
>
>
>
>
>
> I started to contribute to this feature these days, in my opinion, the
> framework of the feature itself is stable
> and will not do harm to any other parts. And it is a really big step
> towards the future 'rolling upgrade'.
> As elek pointed, there are some issues needs to be fixed, and I'd be very
> glad to help fix them :)
>
>
>
>
>
>
>
> At 2021-04-23 10:37:20, "Aravindan Vijayan" <av...@cloudera.com.INVALID>
> wrote:
> >Since I do not see any objections to the DISCUSS thread, moving this to
> >VOTE thread.
> >
> >On Mon, Apr 19, 2021 at 10:04 AM Aravindan Vijayan <avijayan@cloudera.com
> >
> >wrote:
> >
> >> Hello all,
> >>
> >> I would like to propose merging the work done for supporting non rolling
> >> upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone master
> >> branch.
> >>
> >> As part of the upgrade framework, the following have been added
> >>
> >>    - Ability to create layout features & versions
> >>    - Ability to finalize and upgrade an Ozone cluster, as well as
> >>    downgrade before finalization.
> >>    - Ability to add custom actions to be executed as upgrade hooks in
> >>    different phases.
> >>    - Ability to 'prepare' an Ozone manager quorum for upgrade.
> >>
> >> We believe that the branch is ready for merge due to the following
> reasons
> >>
> >>    - We have resolved around 60 JIRAs (including 6 Apache Ratis fixes).
> >>    There are about 3-4 remaining JIRAs that are currently in progress
> (or
> >>    under review) which are not blockers and are close to completion.
> >>    - The merge checklist has been looked at and filled in at
> >>
> https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist
> >>    .
> >>    - A broad range of test cases have been added including unit tests,
> >>    integration tests to perform finalization & upgrade, failure
> injection
> >>    testing in HDDS layer finalization and acceptance tests to perform a
> >>    prepare operation and a docker based upgrade flow from the last
> released
> >>    version to current.
> >>    - Sufficient documentation has been added for the design (here
> >>    <
> https://issues.apache.org/jira/secure/attachment/13023446/Ozone%20Non-Rolling%20Upgrades%20Doc%20v1.2%20%28Implemented%20Design%29.pdf
> >
> >>    & here
> >>    <
> https://issues.apache.org/jira/secure/attachment/13015490/OM%20Prepare%20Upgrade.pdf
> >),
> >>    usage (here
> >>    <
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/feature/how-to-do-a-nonrolling-upgrade.md
> >)
> >>    and developer primer (here
> >>    <
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/design/upgrade-dev-primer.md
> >
> >>    ).
> >>
> >> There is some work needed to onboard the work done for HDDS-2939 into
> the
> >> upgrade branch. If that branch is merged first, then the onboarding can
> be
> >> done before the upgrade branch merge through a single patch.
> >>
> >> Please provide your feedback. If there are no objections, I will proceed
> >> with starting a vote thread for merging.
> >>
> >> --
> >> Thanks & Regards,
> >> Aravindan
> >>
> >
> >
> >--
> >Thanks & Regards,
> >Aravindan
>


-- 
Thanks & Regards,
Aravindan

Re:[VOTE] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by guimark <gu...@126.com>.







I started to contribute to this feature these days, in my opinion, the framework of the feature itself is stable
and will not do harm to any other parts. And it is a really big step towards the future 'rolling upgrade'.
As elek pointed, there are some issues needs to be fixed, and I'd be very glad to help fix them :)







At 2021-04-23 10:37:20, "Aravindan Vijayan" <av...@cloudera.com.INVALID> wrote:
>Since I do not see any objections to the DISCUSS thread, moving this to
>VOTE thread.
>
>On Mon, Apr 19, 2021 at 10:04 AM Aravindan Vijayan <av...@cloudera.com>
>wrote:
>
>> Hello all,
>>
>> I would like to propose merging the work done for supporting non rolling
>> upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone master
>> branch.
>>
>> As part of the upgrade framework, the following have been added
>>
>>    - Ability to create layout features & versions
>>    - Ability to finalize and upgrade an Ozone cluster, as well as
>>    downgrade before finalization.
>>    - Ability to add custom actions to be executed as upgrade hooks in
>>    different phases.
>>    - Ability to 'prepare' an Ozone manager quorum for upgrade.
>>
>> We believe that the branch is ready for merge due to the following reasons
>>
>>    - We have resolved around 60 JIRAs (including 6 Apache Ratis fixes).
>>    There are about 3-4 remaining JIRAs that are currently in progress (or
>>    under review) which are not blockers and are close to completion.
>>    - The merge checklist has been looked at and filled in at
>>    https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist
>>    .
>>    - A broad range of test cases have been added including unit tests,
>>    integration tests to perform finalization & upgrade, failure injection
>>    testing in HDDS layer finalization and acceptance tests to perform a
>>    prepare operation and a docker based upgrade flow from the last released
>>    version to current.
>>    - Sufficient documentation has been added for the design (here
>>    <https://issues.apache.org/jira/secure/attachment/13023446/Ozone%20Non-Rolling%20Upgrades%20Doc%20v1.2%20%28Implemented%20Design%29.pdf>
>>    & here
>>    <https://issues.apache.org/jira/secure/attachment/13015490/OM%20Prepare%20Upgrade.pdf>),
>>    usage (here
>>    <https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/feature/how-to-do-a-nonrolling-upgrade.md>)
>>    and developer primer (here
>>    <https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/design/upgrade-dev-primer.md>
>>    ).
>>
>> There is some work needed to onboard the work done for HDDS-2939 into the
>> upgrade branch. If that branch is merged first, then the onboarding can be
>> done before the upgrade branch merge through a single patch.
>>
>> Please provide your feedback. If there are no objections, I will proceed
>> with starting a vote thread for merging.
>>
>> --
>> Thanks & Regards,
>> Aravindan
>>
>
>
>-- 
>Thanks & Regards,
>Aravindan

[VOTE] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Aravindan Vijayan <av...@cloudera.com.INVALID>.
Since I do not see any objections to the DISCUSS thread, moving this to
VOTE thread.

On Mon, Apr 19, 2021 at 10:04 AM Aravindan Vijayan <av...@cloudera.com>
wrote:

> Hello all,
>
> I would like to propose merging the work done for supporting non rolling
> upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone master
> branch.
>
> As part of the upgrade framework, the following have been added
>
>    - Ability to create layout features & versions
>    - Ability to finalize and upgrade an Ozone cluster, as well as
>    downgrade before finalization.
>    - Ability to add custom actions to be executed as upgrade hooks in
>    different phases.
>    - Ability to 'prepare' an Ozone manager quorum for upgrade.
>
> We believe that the branch is ready for merge due to the following reasons
>
>    - We have resolved around 60 JIRAs (including 6 Apache Ratis fixes).
>    There are about 3-4 remaining JIRAs that are currently in progress (or
>    under review) which are not blockers and are close to completion.
>    - The merge checklist has been looked at and filled in at
>    https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist
>    .
>    - A broad range of test cases have been added including unit tests,
>    integration tests to perform finalization & upgrade, failure injection
>    testing in HDDS layer finalization and acceptance tests to perform a
>    prepare operation and a docker based upgrade flow from the last released
>    version to current.
>    - Sufficient documentation has been added for the design (here
>    <https://issues.apache.org/jira/secure/attachment/13023446/Ozone%20Non-Rolling%20Upgrades%20Doc%20v1.2%20%28Implemented%20Design%29.pdf>
>    & here
>    <https://issues.apache.org/jira/secure/attachment/13015490/OM%20Prepare%20Upgrade.pdf>),
>    usage (here
>    <https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/feature/how-to-do-a-nonrolling-upgrade.md>)
>    and developer primer (here
>    <https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/design/upgrade-dev-primer.md>
>    ).
>
> There is some work needed to onboard the work done for HDDS-2939 into the
> upgrade branch. If that branch is merged first, then the onboarding can be
> done before the upgrade branch merge through a single patch.
>
> Please provide your feedback. If there are no objections, I will proceed
> with starting a vote thread for merging.
>
> --
> Thanks & Regards,
> Aravindan
>


-- 
Thanks & Regards,
Aravindan

Re: [DISCUSS] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Aravindan Vijayan <av...@cloudera.com.INVALID>.
Thanks for the review Yiqun.

The question that you ask is valid. As of now, the OM-SCM
compatibility story is still in the works. We are planning to work on it
shortly after the branch merge, and should be able to get in for 1.2.0.

On Thu, Apr 22, 2021 at 8:44 AM Lin, Yiqun <yi...@ebay.com.invalid> wrote:

> +1.
>
> Thanks for the great work on this feature!
>
> I have one question for OM - SCM Version compatibility upgrade.
>
> Quote from the design doc:
>
> >We should not allow a deployment where a finalized version of Ozone
> manager is talking to a previous (or pre-finalized) version of SCM.
>
> Can I understand above as that SCM must be finalized before OM finalized?
> If yes, could SCM be downgraded after being finalized? Because there could
> be one corner case that after finalized SCM, user doesn't want to  continue
> the upgrade and try to downgrade due to unexpected reason. If OM downgraded
> successfully while SCM could not be downgraded, old OM will talk to the new
> SCM version. This should not be expected I think.
>
>
>
> On 2021/4/22, 5:42 AM, "Vivek Ratnavel" <vi...@apache.org> wrote:
>
>
>     +1 to merge HDDS-3698-nonrolling-upgrade branch into Ozone master.
>
>     Thanks to everyone who contributed.
>
>     -Vivek Subramanian
>
>     On Mon, Apr 19, 2021 at 10:50 AM Siddharth Wagle
>     <sw...@cloudera.com.invalid> wrote:
>
>     > +1 for Upgrade branch merge.
>     > Thank you Aravindan, Ethan, Prashant, and Pifta for actively working
> on
>     > this important feature for Ozone, and everyone else who contributed
>     > with ideas and suggestions.
>     >
>     > Best,
>     > Sid
>     >
>     >
>     > On Mon, Apr 19, 2021 at 10:04 AM Aravindan Vijayan
>     > <av...@cloudera.com.invalid> wrote:
>     >
>     > > Hello all,
>     > >
>     > > I would like to propose merging the work done for supporting non
> rolling
>     > > upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone
> master
>     > > branch.
>     > >
>     > > As part of the upgrade framework, the following have been added
>     > >
>     > >    - Ability to create layout features & versions
>     > >    - Ability to finalize and upgrade an Ozone cluster, as well as
>     > downgrade
>     > >    before finalization.
>     > >    - Ability to add custom actions to be executed as upgrade hooks
> in
>     > >    different phases.
>     > >    - Ability to 'prepare' an Ozone manager quorum for upgrade.
>     > >
>     > > We believe that the branch is ready for merge due to the following
>     > reasons
>     > >
>     > >    - We have resolved around 60 JIRAs (including 6 Apache Ratis
> fixes).
>     > >    There are about 3-4 remaining JIRAs that are currently in
> progress (or
>     > >    under review) which are not blockers and are close to
> completion.
>     > >    - The merge checklist has been looked at and filled in at
>     > >
>     > >
>     >
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FOZONE%2FNon-Rolling%2BUpgrade%2BFramework%2BMerge%2BChecklist&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390824151%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=u2TDwqr9oji0axu8ASTtsvRlaEviRp4KUmX4hSTPgXo%3D&amp;reserved=0
>     > >    .
>     > >    - A broad range of test cases have been added including unit
> tests,
>     > >    integration tests to perform finalization & upgrade, failure
> injection
>     > >    testing in HDDS layer finalization and acceptance tests to
> perform a
>     > >    prepare operation and a docker based upgrade flow from the last
>     > released
>     > >    version to current.
>     > >    - Sufficient documentation has been added for the design (here
>     > >    <
>     > >
>     >
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fsecure%2Fattachment%2F13023446%2FOzone%2520Non-Rolling%2520Upgrades%2520Doc%2520v1.2%2520%2528Implemented%2520Design%2529.pdf&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390824151%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=sZ3%2BBCvW6UDk9jQiQkBz5HLi9q5ZfFNdvo8%2FFJqDJ6w%3D&amp;reserved=0
>     > > >
>     > >    & here
>     > >    <
>     > >
>     >
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fsecure%2Fattachment%2F13015490%2FOM%2520Prepare%2520Upgrade.pdf&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390824151%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=gmhfRjyCXmVKnRaX6LbS9HIMr2RKyRJgdCXKKRMDL9o%3D&amp;reserved=0
>     > > >),
>     > >    usage (here
>     > >    <
>     > >
>     >
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fozone%2Fblob%2FHDDS-3698-nonrolling-upgrade%2Fhadoop-hdds%2Fdocs%2Fcontent%2Ffeature%2Fhow-to-do-a-nonrolling-upgrade.md&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390824151%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=MyqN%2BKdCDBW4tHAQhpTfnMCY8CRrZnCRbYDKFRbNtYE%3D&amp;reserved=0
>     > > >)
>     > >    and developer primer (here
>     > >    <
>     > >
>     >
> https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fozone%2Fblob%2FHDDS-3698-nonrolling-upgrade%2Fhadoop-hdds%2Fdocs%2Fcontent%2Fdesign%2Fupgrade-dev-primer.md&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390834141%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=x%2FTq07heZPTAyiBns0ZbhYpR80Hne5aRqbE1larqFVg%3D&amp;reserved=0
>     > > >
>     > >    ).
>     > >
>     > > There is some work needed to onboard the work done for HDDS-2939
> into the
>     > > upgrade branch. If that branch is merged first, then the
> onboarding can
>     > be
>     > > done before the upgrade branch merge through a single patch.
>     > >
>     > > Please provide your feedback. If there are no objections, I will
> proceed
>     > > with starting a vote thread for merging.
>     > >
>     > > --
>     > > Thanks & Regards,
>     > > Aravindan
>     > >
>     >
>
>

-- 
Thanks & Regards,
Aravindan

Re: [DISCUSS] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by "Lin, Yiqun" <yi...@ebay.com.INVALID>.
+1.

Thanks for the great work on this feature!

I have one question for OM - SCM Version compatibility upgrade. 

Quote from the design doc:

>We should not allow a deployment where a finalized version of Ozone manager is talking to a previous (or pre-finalized) version of SCM.

Can I understand above as that SCM must be finalized before OM finalized? 
If yes, could SCM be downgraded after being finalized? Because there could be one corner case that after finalized SCM, user doesn't want to  continue the upgrade and try to downgrade due to unexpected reason. If OM downgraded successfully while SCM could not be downgraded, old OM will talk to the new SCM version. This should not be expected I think.



On 2021/4/22, 5:42 AM, "Vivek Ratnavel" <vi...@apache.org> wrote:


    +1 to merge HDDS-3698-nonrolling-upgrade branch into Ozone master.

    Thanks to everyone who contributed.

    -Vivek Subramanian

    On Mon, Apr 19, 2021 at 10:50 AM Siddharth Wagle
    <sw...@cloudera.com.invalid> wrote:

    > +1 for Upgrade branch merge.
    > Thank you Aravindan, Ethan, Prashant, and Pifta for actively working on
    > this important feature for Ozone, and everyone else who contributed
    > with ideas and suggestions.
    >
    > Best,
    > Sid
    >
    >
    > On Mon, Apr 19, 2021 at 10:04 AM Aravindan Vijayan
    > <av...@cloudera.com.invalid> wrote:
    >
    > > Hello all,
    > >
    > > I would like to propose merging the work done for supporting non rolling
    > > upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone master
    > > branch.
    > >
    > > As part of the upgrade framework, the following have been added
    > >
    > >    - Ability to create layout features & versions
    > >    - Ability to finalize and upgrade an Ozone cluster, as well as
    > downgrade
    > >    before finalization.
    > >    - Ability to add custom actions to be executed as upgrade hooks in
    > >    different phases.
    > >    - Ability to 'prepare' an Ozone manager quorum for upgrade.
    > >
    > > We believe that the branch is ready for merge due to the following
    > reasons
    > >
    > >    - We have resolved around 60 JIRAs (including 6 Apache Ratis fixes).
    > >    There are about 3-4 remaining JIRAs that are currently in progress (or
    > >    under review) which are not blockers and are close to completion.
    > >    - The merge checklist has been looked at and filled in at
    > >
    > >
    > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FOZONE%2FNon-Rolling%2BUpgrade%2BFramework%2BMerge%2BChecklist&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390824151%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=u2TDwqr9oji0axu8ASTtsvRlaEviRp4KUmX4hSTPgXo%3D&amp;reserved=0
    > >    .
    > >    - A broad range of test cases have been added including unit tests,
    > >    integration tests to perform finalization & upgrade, failure injection
    > >    testing in HDDS layer finalization and acceptance tests to perform a
    > >    prepare operation and a docker based upgrade flow from the last
    > released
    > >    version to current.
    > >    - Sufficient documentation has been added for the design (here
    > >    <
    > >
    > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fsecure%2Fattachment%2F13023446%2FOzone%2520Non-Rolling%2520Upgrades%2520Doc%2520v1.2%2520%2528Implemented%2520Design%2529.pdf&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390824151%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=sZ3%2BBCvW6UDk9jQiQkBz5HLi9q5ZfFNdvo8%2FFJqDJ6w%3D&amp;reserved=0
    > > >
    > >    & here
    > >    <
    > >
    > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fsecure%2Fattachment%2F13015490%2FOM%2520Prepare%2520Upgrade.pdf&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390824151%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=gmhfRjyCXmVKnRaX6LbS9HIMr2RKyRJgdCXKKRMDL9o%3D&amp;reserved=0
    > > >),
    > >    usage (here
    > >    <
    > >
    > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fozone%2Fblob%2FHDDS-3698-nonrolling-upgrade%2Fhadoop-hdds%2Fdocs%2Fcontent%2Ffeature%2Fhow-to-do-a-nonrolling-upgrade.md&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390824151%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=MyqN%2BKdCDBW4tHAQhpTfnMCY8CRrZnCRbYDKFRbNtYE%3D&amp;reserved=0
    > > >)
    > >    and developer primer (here
    > >    <
    > >
    > https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fozone%2Fblob%2FHDDS-3698-nonrolling-upgrade%2Fhadoop-hdds%2Fdocs%2Fcontent%2Fdesign%2Fupgrade-dev-primer.md&amp;data=04%7C01%7Cyiqlin%40ebay.com%7C89b86f58a628452052fd08d9050e54c9%7C46326bff992841a0baca17c16c94ea99%7C0%7C1%7C637546381390834141%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=x%2FTq07heZPTAyiBns0ZbhYpR80Hne5aRqbE1larqFVg%3D&amp;reserved=0
    > > >
    > >    ).
    > >
    > > There is some work needed to onboard the work done for HDDS-2939 into the
    > > upgrade branch. If that branch is merged first, then the onboarding can
    > be
    > > done before the upgrade branch merge through a single patch.
    > >
    > > Please provide your feedback. If there are no objections, I will proceed
    > > with starting a vote thread for merging.
    > >
    > > --
    > > Thanks & Regards,
    > > Aravindan
    > >
    >


Re: [DISCUSS] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Vivek Ratnavel <vi...@apache.org>.
+1 to merge HDDS-3698-nonrolling-upgrade branch into Ozone master.

Thanks to everyone who contributed.

-Vivek Subramanian

On Mon, Apr 19, 2021 at 10:50 AM Siddharth Wagle
<sw...@cloudera.com.invalid> wrote:

> +1 for Upgrade branch merge.
> Thank you Aravindan, Ethan, Prashant, and Pifta for actively working on
> this important feature for Ozone, and everyone else who contributed
> with ideas and suggestions.
>
> Best,
> Sid
>
>
> On Mon, Apr 19, 2021 at 10:04 AM Aravindan Vijayan
> <av...@cloudera.com.invalid> wrote:
>
> > Hello all,
> >
> > I would like to propose merging the work done for supporting non rolling
> > upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone master
> > branch.
> >
> > As part of the upgrade framework, the following have been added
> >
> >    - Ability to create layout features & versions
> >    - Ability to finalize and upgrade an Ozone cluster, as well as
> downgrade
> >    before finalization.
> >    - Ability to add custom actions to be executed as upgrade hooks in
> >    different phases.
> >    - Ability to 'prepare' an Ozone manager quorum for upgrade.
> >
> > We believe that the branch is ready for merge due to the following
> reasons
> >
> >    - We have resolved around 60 JIRAs (including 6 Apache Ratis fixes).
> >    There are about 3-4 remaining JIRAs that are currently in progress (or
> >    under review) which are not blockers and are close to completion.
> >    - The merge checklist has been looked at and filled in at
> >
> >
> https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist
> >    .
> >    - A broad range of test cases have been added including unit tests,
> >    integration tests to perform finalization & upgrade, failure injection
> >    testing in HDDS layer finalization and acceptance tests to perform a
> >    prepare operation and a docker based upgrade flow from the last
> released
> >    version to current.
> >    - Sufficient documentation has been added for the design (here
> >    <
> >
> https://issues.apache.org/jira/secure/attachment/13023446/Ozone%20Non-Rolling%20Upgrades%20Doc%20v1.2%20%28Implemented%20Design%29.pdf
> > >
> >    & here
> >    <
> >
> https://issues.apache.org/jira/secure/attachment/13015490/OM%20Prepare%20Upgrade.pdf
> > >),
> >    usage (here
> >    <
> >
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/feature/how-to-do-a-nonrolling-upgrade.md
> > >)
> >    and developer primer (here
> >    <
> >
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/design/upgrade-dev-primer.md
> > >
> >    ).
> >
> > There is some work needed to onboard the work done for HDDS-2939 into the
> > upgrade branch. If that branch is merged first, then the onboarding can
> be
> > done before the upgrade branch merge through a single patch.
> >
> > Please provide your feedback. If there are no objections, I will proceed
> > with starting a vote thread for merging.
> >
> > --
> > Thanks & Regards,
> > Aravindan
> >
>

Re: [DISCUSS] - Merge Non rolling upgrade branch - 'HDDS-3698-nonrolling-upgrade'

Posted by Siddharth Wagle <sw...@cloudera.com.INVALID>.
+1 for Upgrade branch merge.
Thank you Aravindan, Ethan, Prashant, and Pifta for actively working on
this important feature for Ozone, and everyone else who contributed
with ideas and suggestions.

Best,
Sid


On Mon, Apr 19, 2021 at 10:04 AM Aravindan Vijayan
<av...@cloudera.com.invalid> wrote:

> Hello all,
>
> I would like to propose merging the work done for supporting non rolling
> upgrades in Ozone (HDDS-3698-nonrolling-upgrade) into the Ozone master
> branch.
>
> As part of the upgrade framework, the following have been added
>
>    - Ability to create layout features & versions
>    - Ability to finalize and upgrade an Ozone cluster, as well as downgrade
>    before finalization.
>    - Ability to add custom actions to be executed as upgrade hooks in
>    different phases.
>    - Ability to 'prepare' an Ozone manager quorum for upgrade.
>
> We believe that the branch is ready for merge due to the following reasons
>
>    - We have resolved around 60 JIRAs (including 6 Apache Ratis fixes).
>    There are about 3-4 remaining JIRAs that are currently in progress (or
>    under review) which are not blockers and are close to completion.
>    - The merge checklist has been looked at and filled in at
>
> https://cwiki.apache.org/confluence/display/OZONE/Non-Rolling+Upgrade+Framework+Merge+Checklist
>    .
>    - A broad range of test cases have been added including unit tests,
>    integration tests to perform finalization & upgrade, failure injection
>    testing in HDDS layer finalization and acceptance tests to perform a
>    prepare operation and a docker based upgrade flow from the last released
>    version to current.
>    - Sufficient documentation has been added for the design (here
>    <
> https://issues.apache.org/jira/secure/attachment/13023446/Ozone%20Non-Rolling%20Upgrades%20Doc%20v1.2%20%28Implemented%20Design%29.pdf
> >
>    & here
>    <
> https://issues.apache.org/jira/secure/attachment/13015490/OM%20Prepare%20Upgrade.pdf
> >),
>    usage (here
>    <
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/feature/how-to-do-a-nonrolling-upgrade.md
> >)
>    and developer primer (here
>    <
> https://github.com/apache/ozone/blob/HDDS-3698-nonrolling-upgrade/hadoop-hdds/docs/content/design/upgrade-dev-primer.md
> >
>    ).
>
> There is some work needed to onboard the work done for HDDS-2939 into the
> upgrade branch. If that branch is merged first, then the onboarding can be
> done before the upgrade branch merge through a single patch.
>
> Please provide your feedback. If there are no objections, I will proceed
> with starting a vote thread for merging.
>
> --
> Thanks & Regards,
> Aravindan
>