[
https://issues.apache.org/jira/browse/HDDS-17997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arafat Khan reassigned HDDS-17997:
----------------------------------
Assignee: Arafat Khan
> Recon task controller does not count or name a task whose reprocess throws an
> Error
> -----------------------------------------------------------------------------------
>
> Key: HDDS-17997
> URL: https://issues.apache.org/jira/browse/HDDS-17997
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Recon
> Reporter: Arafat Khan
> Assignee: Arafat Khan
> Priority: Major
>
> {{ReconTaskControllerImpl}} catches only {{Exception}} around
> {{{}task.call(){}}}. If a task throws an {{Error}} such as
> {{{}OutOfMemoryError{}}}, {{incrTaskReprocessFailures}} is not called and the
> failure is logged without the task name, because the cause is not a
> {{{}TaskExecutionException{}}}. Handle {{Throwable}} there too, so the
> failure is counted and logged with the task name. Related to [HDDS-17046
> comment|https://github.com/apache/ozone/pull/12203#pullrequestreview-6128930174].
>
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]