You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Swaminathan Balachandran (Jira)" <ji...@apache.org> on 2025/10/08 18:11:00 UTC

[jira] [Created] (HDDS-13769) Orphan files can be copied as hard link file list has files added outside the lock

Swaminathan Balachandran created HDDS-13769:
-----------------------------------------------

             Summary: 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


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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org