[
https://issues.apache.org/jira/browse/HDDS-17208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-17208:
------------------------------------
Fix Version/s: 2.3.0
Resolution: Implemented
Status: Resolved (was: Patch Available)
> Evict old container ID export job records and archives
> ------------------------------------------------------
>
> Key: HDDS-17208
> URL: https://issues.apache.org/jira/browse/HDDS-17208
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: SCM, Tools
> Reporter: Sarveksha Yeshavantha Raju
> Assignee: Sarveksha Yeshavantha Raju
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]