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

Rui Wang commented on HDDS-17439:
---------------------------------

Split the block containerID, etc. verification to 
https://issues.apache.org/jira/browse/HDDS-17751.

Keep this JIRA as the one who does block token validation.

> Datanode does not check that a PutBlock committed through a data stream is 
> for the stream's block and carries a valid block token
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-17439
>                 URL: https://issues.apache.org/jira/browse/HDDS-17439
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Datanode
>    Affects Versions: 1.4.0, 1.4.1, 2.3.0
>            Reporter: Siyao Meng
>            Assignee: Rui Wang
>            Priority: Critical
>              Labels: pull-request-available
>         Attachments: CR-3-check-stream-putblock-block-and-token.patch
>
>
> DN should validate block token from data stream committed PutBlocks.
> There is already a built mechanism for block token validation. We only need 
> to enable it for STREAM_LINK and STREAM_COMMAND. STREAM_LINK is used for the 
> end of stream PutBlock while STREAM_COMMAND used for middle flushes PutBlock.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to