ashishkumar50 opened a new pull request, #6033:
URL: https://github.com/apache/ozone/pull/6033

   ## What changes were proposed in this pull request?
   A new property `ozone.om.lease.hard.limit`(default 7d) aded for hsync open 
files.
   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.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-10141
   
   ## How was this patch tested?
   
   New and exiting unit test.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to