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

Anu Engineer commented on HDDS-191:
-----------------------------------

+1 , I will commit this now. There is a minor comment, we can make the 
EventQueue a member of SCM instead of local variable. We can do that in a later 
patch like HDDS-193.

 

> Queue SCMCommands via EventQueue in SCM
> ---------------------------------------
>
>                 Key: HDDS-191
>                 URL: https://issues.apache.org/jira/browse/HDDS-191
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-191.001.patch, HDDS-191.002.patch
>
>
> As a first step towards to a ReplicationManager I propose to introduce the 
> EventQueue to the StorageContainerManager and enable to send SCMCommands via 
> EventQueue.
> With this separation the ReplicationManager could easily send the appropriate 
> SCMCommand (eg. CopyContainer) to the EventQueue without hard dependency to 
> the SCMNodeManager. (And later we can introduce the CommandWatchers without 
> modifying the ReplicationManager part)



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