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

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   Doris support triggering compaction manually through HTTP API, but the whole 
compaction logic is as same as the internal compaction task, which means that 
if the current rowset layout don't meet the criterion, the compaction task 
won't run.
   In other words, you can't do force compaction if you need.
   
   Some times user may need to to force compaction, so we'd better to add a 
compaction type "force", which can compact all data no matter what's the rowset 
layout is.
   
   ### Solution
   
   1. Add a new compaction type "force" in compaction_action.h
   2. trigger a base compaction
   3. ignore _cumulative_point, pick all rowsets
   4. ignore unnecessary checks
   
   ### Are you willing to submit PR?
   
   - [ ] 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