[
https://issues.apache.org/jira/browse/HDDS-13599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016664#comment-18016664
]
Sammi Chen edited comment on HDDS-13599 at 8/28/25 2:19 AM:
------------------------------------------------------------
[~szetszwo] , lock can help with the Thread A, Thread B case you mentioned.
Assume Thread B moves the file and deleted file, then thread C comes after
Thread B, which want to read the file, what will happen to Thread C? Will it
fail to read? If it fails, don we need to fix this case?
was (Author: sammi):
[~szetszwo] , lock can help with the Thread A, Thread B case you mentioned.
Assume Thread B moves the file and deleted file, then thread C comes after
Thread B, which want to read the file, what will happen to Thread C?
> Take write Lock of all block files before a container replica directory is
> deleted
> ----------------------------------------------------------------------------------
>
> Key: HDDS-13599
> URL: https://issues.apache.org/jira/browse/HDDS-13599
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Sammi Chen
> Priority: Major
> Attachments: screenshot-1.png
>
>
> To avoid interim read failure caused by block file deleted during container
> replica directory deletion.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]