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

Anu Engineer commented on HDDS-161:
-----------------------------------

+1, on this change. I will commit this as soon as we can fix some of these 
unused imports in the following files.
{noformat}

XceiverServer.java
XceiverServerGrpc.java
XceiverServerRatis.java
XceiverServerSPI.java{noformat}

> Add functionality to queue ContainerClose command from SCM Hearbeat Reposnse 
> to Ratis
> -------------------------------------------------------------------------------------
>
>                 Key: HDDS-161
>                 URL: https://issues.apache.org/jira/browse/HDDS-161
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode, SCM
>            Reporter: Shashikant Banerjee
>            Assignee: Shashikant Banerjee
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-161.00.patch, HDDS-161.01.patch
>
>
> When a container needs to be closed at the Datanode, SCM will queue a close 
> command which will be encoded as a part of Heartbeat Response to the 
> Datanode. This command will be picked up from the response at the Datanode 
> which will then be submitted to the XceiverServer to process the close 
> command. This will just queue a ContainerCloseCommand to the Ratis, where the 
> leader would start the transaction while the followers will reject the 
> closeContainer request.
> While handling the close container inside the Datanode, we need to ensure all 
> the ongoing chunkWrites finish before close can proceed through. It should 
> also reject any any incoming I/Os in between. This will be handled as a part 
> of separate jira.



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