[ 
https://issues.apache.org/jira/browse/HDDS-13769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-13769:
----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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]

Reply via email to