[
https://issues.apache.org/jira/browse/HDDS-13769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang updated HDDS-13769:
-----------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Orphan files can be copied as hard link file list has files added outside the
> lock
> ----------------------------------------------------------------------------------
>
> Key: HDDS-13769
> URL: https://issues.apache.org/jira/browse/HDDS-13769
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Swaminathan Balachandran
> Assignee: Sadanand Shenoy
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.0
>
>
> Currently Hard link file map is initialized and also has files which have
> been list outside of a lock. This can lead to having orphan files which have
> been deleted after the files have already been listed. Hard link file list
> should only have entries when files are listed inside a lock.
> Initiailize HardLink file map after this:
> https://github.com/apache/ozone/blob/bc731ea6af706fd51eedbc31bd1eeea0bd75c4ee/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMDBCheckpointServletInodeBasedXfer.java#L219-L241
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]