Ryan19929 opened a new issue, #65632:
URL: https://github.com/apache/doris/issues/65632

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   FE writes backup metadata and job information to local staging directories 
under `tmp_dir`.
   
   These directories are not cleaned up after they are no longer needed. For 
example, they may remain after a remote backup finishes or after a local 
snapshot expires or is evicted.
   
   In addition, journal replay may create staging files on other FE nodes. 
Therefore, stale backup staging directories may accumulate independently on 
each FE and continuously consume disk space.
   
   ### What You Expected?
   
   FE should automatically remove backup staging directories when they are no 
longer needed:
   
   - Remove remote backup staging directories after the backup finishes or is 
cancelled.
   - Keep local snapshot directories while the snapshot is valid, and remove 
them after expiration or eviction.
   - Periodically remove orphan staging directories left by journal replay, FE 
restart, or interrupted cleanup.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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