yujun777 commented on PR #43898:
URL: https://github.com/apache/doris/pull/43898#issuecomment-2476036681

   The real root cause is the introduction of history_partition_num.  When 
creatting partition,  use partition_num = (-start,  history_partition_num),    
but when dropping partition, use partition_num = -start.
   
   user set a small history_partition_num and a much smaller start, then when 
creatting partiton, the start was skipped check.
   
   In fact, history_partition_num and start has the same meaning (the history 
partition num),  only except that start = int.min means no deleting history 
partitions .
   
   The introduce of history_partition_num is a bad thing.   It make the 
creating and dropping partition behaviour not consistent.
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to