[
https://issues.apache.org/jira/browse/HDDS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503023#comment-16503023
]
Lokesh Jain commented on HDDS-72:
---------------------------------
[~ajayydv] Thanks for reviewing the patch! Regarding the delete path the SCM
sends deleteBlocks command to DN. DN adds the entry in its log and sends the
updated transactionId in any subsequent container report. SCM checks the
transactionId for the container to make sure the container's state is updated.
This patch currently just adds deleteTransactionId in container info and does
not add the logic required in DN and SCM for sending and verifying contaiener
report. That logic would be added in follow up jiras.
> Add deleteTransactionId field in ContainerInfo
> ----------------------------------------------
>
> Key: HDDS-72
> URL: https://issues.apache.org/jira/browse/HDDS-72
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Datanode, SCM
> Affects Versions: 0.2.1
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
> Fix For: 0.2.1
>
> Attachments: HDDS-72.001.patch, HDDS-72.002.patch, HDDS-72.003.patch,
> HDDS-72.004.patch
>
>
> This Jira aims to add deleteTransactionId field in SCMContainerInfo and
> ContainerInfo in hdds.proto and StorageContainerDatanodeProtocol.proto
> respectively. This transactionId would be used to maintain the state of
> container w.r.t deleted blocks and would be used by SCM to delete unwanted
> blocks in DN.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]