[ 
https://issues.apache.org/jira/browse/HDDS-17208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sarveksha Yeshavantha Raju updated HDDS-17208:
----------------------------------------------
    Status: Patch Available  (was: In Progress)

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

Reply via email to