dybyte opened a new issue, #10329:
URL: https://github.com/apache/seatunnel/issues/10329

   ### Search before asking
   
   - [x] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   When using IMAP with external storage, implementations of 
`org.apache.seatunnel.engine.imap.storage.file.wal.writer.IFileWriter` 
currently write new data on every `write()` operation without cleaning up old 
data.
   
   As a result, external storage usage continues to grow, with the 
`engine_runningJobMetrics` IMAP showing the most significant increase.
   
   To address this, I propose introducing a "Compaction" feature.
   
   - Users should be able to configure the compaction frequency through a 
setting.
   - Optionally, users could trigger compaction manually via client or REST API.
   
   If this proposal is acceptable, I can prepare a more detailed design 
document for review.
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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]

Reply via email to