[ 
https://issues.apache.org/jira/browse/HDDS-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638150#comment-17638150
 ] 

Devesh Kumar Singh commented on HDDS-5331:
------------------------------------------

[~smeng] - To handle this , we need to have reference of recon task list inside 
StaleNodeHandler and DeadNodeHandler, so that we can trigger recon task from 
there. This will also need change in current way of starting recon tasks 
(ContainerHealthTask and PipeLineSyncTask) through some scheduled with fixed 
delay mechanism. Currently these tasks are triggered once and in while loop 
they wake up themselves after wait and then run again after a fixed interval, 
so no control of triggering these tasks from outside at our own will.

So my main concern here is - whether it is ok to have reference of recon task 
list inside StaleNodeHandler and DeadNodeHandler ?

cc: [~kkasawa] 

> Recon: Trigger MissingContainerTask when DN becomes stale
> ---------------------------------------------------------
>
>                 Key: HDDS-5331
>                 URL: https://issues.apache.org/jira/browse/HDDS-5331
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: Ozone Recon
>            Reporter: Siyao Meng
>            Assignee: Devesh Kumar Singh
>            Priority: Major
>
> Currently, the ContainerHealthTask runs in periodic intervals to check if a 
> container is under replicated or missing. A small improvement by triggering a 
> run of this task when a DN goes STALE or DEAD can help identify under 
> replicated containers quicker.
> CC [~avijayan]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to