Sarveksha Yeshavantha Raju created HDDS-17208:
-------------------------------------------------
Summary: 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
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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]