You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Rishabh Patel (Jira)" <ji...@apache.org> on 2025/10/13 06:47:00 UTC
[jira] [Assigned] (HDDS-13769) Orphan files can be copied as hard link file list has files added outside the lock
[ https://issues.apache.org/jira/browse/HDDS-13769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rishabh Patel reassigned HDDS-13769:
------------------------------------
Assignee: Sadanand Shenoy
> 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
>
> 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