Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-5244. Allow multiple OM request versions to be supported at same layout version. #2265

Merged

Conversation

avijayanhwx
Copy link
Contributor

What changes were proposed in this pull request?

Remove use of instance factory in OM request handling switch. Added a new point cut in the OM aspect that makes sure new OM requests can be brought in through a layout version.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-5244

How was this patch tested?

Added unit tests.
Manually tested.

@avijayanhwx
Copy link
Contributor Author

cc @errose28 for review.

Copy link
Contributor

@errose28 errose28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this @avijayanhwx . Mostly LGTM just minor comments/questions in line.

Copy link
Contributor

@rakeshadr rakeshadr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

@avijayanhwx
Copy link
Contributor Author

Thanks for the review @errose28 / @rakeshadr.

@avijayanhwx avijayanhwx merged commit 92b5106 into apache:HDDS-3698-nonrolling-upgrade May 27, 2021
errose28 added a commit to errose28/ozone that referenced this pull request May 27, 2021
* HDDS-3698-nonrolling-upgrade:
  HDDS-5244. Allow multiple OM request versions to be supported at same layout version. (apache#2265)
  HDDS-5138. Upgrade related RPC calls should be allowed only for admins. (apache#2217)
  HDDS-5226. Do not fail SCM HA pre-finalize validation if SCM HA was already being used. (apache#2257)

Conflicts:
    hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerStateMachine.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants