fat-catTW opened a new pull request, #12192: URL: https://github.com/apache/ozone/pull/12192
## What changes were proposed in this pull request? When an existing key is overwritten, the open key inherits the existing key's creation time. If that time is older than the open key expiry threshold, cleanup can delete the new open key before the overwrite completes. This change records the opening time in the open key while preserving the original creation time in the committed key. The behavior is gated on the OM layout version. Requests use their recorded layout version during replay so that they retain the behavior selected when they were submitted. Open keys created before the new behavior is enabled retain their existing timestamps. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16851 ## How was this patch tested? - Unit tests for create, commit and open key cleanup, including createFile overwrites in OBS, LEGACY and FSO buckets. - A versioning bucket regression test that checks that cleanup does not prematurely delete an overwrite or queue its existing blocks. - OM upgrade and replay integration tests, including replay after a snapshot in a separate OM process. - Checkstyle. A mixed-version OM cluster was not tested. -- 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]
