[
https://issues.apache.org/jira/browse/HDDS-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17259884#comment-17259884
]
Xiaoyu Yao commented on HDDS-4648:
----------------------------------
When the DN leader append logs to the followers, if the statemachine data is
evicted and need to issue a ReadChunk for WriteChunk request. The ReadChunk
should populate the block token from the original WriteChunk request.
Otherwise, we will see errors like:
datanode_2 | 2021-01-05 00:18:23,828 [ChunkWriter-0-0] ERROR
ratis.ContainerStateMachine: gid group-FBDA8669767C :
ReadStateMachine failed. cmd ReadChunk logIndex 1 msg : Block token
verification failed.
Block token with conID: 1 locID: 105500186505117696 doesn't have READ
permission Container Result: BLOCK_TOKEN_VERIFICATION_FAILED
> DN Ratis Leader should set the block token when Read StateMachine for
> WriteChunk
> --------------------------------------------------------------------------------
>
> Key: HDDS-4648
> URL: https://issues.apache.org/jira/browse/HDDS-4648
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Xiaoyu Yao
> Assignee: Xiaoyu Yao
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]