Skip to content

HDDS-11470. Report OM snapshot installation failures to Ratis - #11086

Open
andyhuangdev wants to merge 2 commits into
apache:masterfrom
andyhuangdev:HDDS-11470
Open

HDDS-11470. Report OM snapshot installation failures to Ratis#11086
andyhuangdev wants to merge 2 commits into
apache:masterfrom
andyhuangdev:HDDS-11470

Conversation

@andyhuangdev

Copy link
Copy Markdown

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

When OM checkpoint installation fails, the snapshot-install callback previously
completed normally with a null result. Ratis could therefore treat the request
as completed without a successful snapshot installation.

Complete the callback exceptionally when OM reports a failed installation.
Add unit coverage for both successful and failed callback completion.

Test:

  • mvn -pl :ozone-manager -am test -Dtest=TestOzoneManagerStateMachine -DskipShade -DskipRecon -DskipDocs -Dsurefire.failIfNoSpecifiedTests=false
  • ./hadoop-ozone/dev-support/checks/checkstyle.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant