[
https://issues.apache.org/jira/browse/HDDS-13599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017826#comment-18017826
]
Tsz-wo Sze commented on HDDS-13599:
-----------------------------------
bq. ... this will not be a small refactor, and requires tests to see the
performance impact of many cases. ...
Could we add the synchronized but not doing the code refactoring?
For performance, it should not be a problem since we are going to add a lock
for io operations -- even for ssd, the io operations still are slower than
locking.
For HDDS-13602, it is going to make the code worse since it adds more code and
makes the refactoring harder.
> 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]