[
https://issues.apache.org/jira/browse/HDDS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16559948#comment-16559948
]
Mukul Kumar Singh commented on HDDS-246:
----------------------------------------
Thanks for working on this [~shashikant].
+1,v1 patch looks good to me. There are
1) KeyValueHandler:501 -> exits-> exists
2) TestCommittedBlockLengthAPI: tesGetCommittedBlockLengthForOpenBlock
->testGetCommittedBlockLengthForOpenBlock
> Datanode should throw BlockNotCommittedException for uncommitted blocks to
> Ozone Client
> ---------------------------------------------------------------------------------------
>
> Key: HDDS-246
> URL: https://issues.apache.org/jira/browse/HDDS-246
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Datanode
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Priority: Blocker
> Fix For: 0.2.1
>
> Attachments: HDDS-246.00.patch, HDDS-246.01.patch
>
>
> As a part of closing the container on a datanode, all the open keys(blocks)
> will be committed.In between if the client calls getCommittedBlockLength for
> uncommitted block on the container, the leader will throw BlockNotCommitted
> exception to the Client Back. The client should retry to fetch the committed
> block length and update the OzoneManager with the length.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]