You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/01/19 09:15:00 UTC

[jira] [Updated] (HDDS-10141) [hsync]Support hard limit and auto recovery for hsync file

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

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

> [hsync]Support hard limit and auto recovery for hsync file
> ----------------------------------------------------------
>
>                 Key: HDDS-10141
>                 URL: https://issues.apache.org/jira/browse/HDDS-10141
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ashish Kumar
>            Assignee: Ashish Kumar
>            Priority: Major
>              Labels: pull-request-available
>
> Introduce a new property “{*}ozone.om.lease.hard.limit{*}”(default 7d) for hsync open files. 
> For an hsync open file in OpenFileTable, if file lifetime is already beyond the “{*}ozone.om.lease.hard.limit{*}” threshold, there are two cases, OpenKeyCleanupService will
> 1. If it has the “{*}leaseRecovery{*}” flag set, which means it is under an explicitly lease recovery, then OpenKeyCleanupService will keep it in OpenFileTable.
> 2. If it doesn’t has the “{*}leaseRecovery{*}” flag set, then OpenKeyCleanupService will auto commit it with the KeyInfo in openFileTable. In this case, the final block might lose some data at the block end which is hsynced.



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