Arafat Khan created HDDS-17997:
----------------------------------

             Summary: 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


{{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]

Reply via email to