[ https://issues.apache.org/jira/browse/HDDS-13599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017376#comment-18017376 ]
Sammi Chen commented on HDDS-13599: ----------------------------------- >. Currently, the path management code is scattered in quite a few classes >(KeyValueContainer, FilePerBlockStrategy, etc.) It would be great if we could >refactor the code so that the path management is relocated to a single place. [~szetszwo] , this will not be a small refactor, and requires tests to see the performance impact of many cases. Since currently disk balancer merge vote discussion is blocked by this, how about we take and merge the HDDS-13602, which can also solve the problem, so disk balancer merge vote can move on, and the refactor you suggested, we can do it in follower up Jira later in master branch? Thoughts? > 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: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org