[
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: [email protected]
For additional commands, e-mail: [email protected]