morningman opened a new pull request #2839: [Compaction] Avoid unnecessary 
compaction
URL: https://github.com/apache/incubator-doris/pull/2839
 
 
   It is not necessary to perform compaction in the following cases
   
   1. A tablet has only 2 rowsets, the versions are [0-1] and [2-x]. In this 
case, 
   there is no need to perform base compaction because the [0-1] version is an 
empty version.
   
   2. The initial value of the `last successful execution time of compaction` 
is 0, 
   which causes the first time to determine the time interval from the
    last successful execution time of compaction, which always meets the 
   conditions to trigger cumulative compaction.
   
   ISSUE: #2838 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to