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

Lokesh Jain commented on HDDS-325:
----------------------------------

[~elek] Thanks for reviewing the patch! I have uploaded v4 patch based on our 
discussion. The changes related to event can be found in classes 
RetriableDatanodeEventWatcher, SCMEvents and StorageContainerManager.

I had to add the changes in EventWatcher as well. The changes add capability of 
watching multiple events in a single watcher. The reason I had to add the 
change was because currently we have a single event type 
RETRIABLE_DATANODE_COMMAND for datanode command events which need to be 
retried. If we create multiple event watchers for the same start event and 
different completion events then we will be adding multiple handlers(via 
multiple event watchers) for the same event type. This would lead to multiple 
handlers retrying the start event.

> Add event watcher for delete blocks command
> -------------------------------------------
>
>                 Key: HDDS-325
>                 URL: https://issues.apache.org/jira/browse/HDDS-325
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode, SCM
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-325.001.patch, HDDS-325.002.patch, 
> HDDS-325.003.patch, HDDS-325.004.patch
>
>
> This Jira aims to add watcher for deleteBlocks command. It removes the 
> current rpc call required for datanode to send the acknowledgement for 
> deleteBlocks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to