Skip to content

Comments

HDDS-8075. ECReconstructionCoordinatorTask.runTask should catch Exception instead of IOException#4342

Merged
sodonnel merged 1 commit intoapache:masterfrom
sodonnel:HDDS-8075
Mar 3, 2023
Merged

HDDS-8075. ECReconstructionCoordinatorTask.runTask should catch Exception instead of IOException#4342
sodonnel merged 1 commit intoapache:masterfrom
sodonnel:HDDS-8075

Conversation

@sodonnel
Copy link
Contributor

@sodonnel sodonnel commented Mar 3, 2023

What changes were proposed in this pull request?

ECReconstructionCoordinatorTask.runTask() catches IOException, but any RuntimeExceptions fall threw the handler and are not logged correctly.

The handler should catch Exception to ensure any Runtime Exception caused by precondition checks are caught and handled too.

What is the link to the Apache JIRA

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

How was this patch tested?

No tests added.

@sodonnel sodonnel merged commit 88292e8 into apache:master Mar 3, 2023
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.

2 participants