Ashish Kumar created HDDS-10141: ----------------------------------- Summary: [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
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-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org