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

   ## What changes were proposed in this pull request?
   SCM keeps the status of every container ID export job in memory and leaves 
every completed `.tar.gz` archive on disk with no limit, so both grow without 
bound on a long-running SCM.
   
   This change keeps only the 10 most recently finished jobs queryable and only 
the 10 newest completed archives (oldest dropped first). Archives are also 
trimmed at SCM start-up, and only files that match the export archive naming 
are ever deleted. Failed or zero-match jobs have no archive, so they don't push 
good archives out.
   
   ## What is the link to the Apache JIRA
   [HDDS-17208](https://issues.apache.org/jira/browse/HDDS-17208)
   
   ## How was this patch tested?
   Added tests in `TestContainerExportManager`.
   CI: https://github.com/sarvekshayr/ozone/actions/runs/39548271051


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