nextdreamblue commented on issue #13999: URL: https://github.com/apache/doris/issues/13999#issuecomment-1305532864
目前动态分区的后台调度周期是由 fe的 dynamic_partition_check_interval_seconds 参数来控制的,每sleep这么多秒就会进入下一次判断,而每次执行添加新partition,删除过期partition的耗时,就导致下次任务的调度会有顺延才会再执行 其实延伸一下,这个地方会存在一个调度不及时的问题。当前dynamic_partition_check_interval_seconds参数默值是600秒,10分钟才调度一次动态分区的检查和添加(如果需要),如果一个fe调度任务在每小时的09、19、29、39、49、59分去执行,这就存在一种情况:当到了需要添加新分区的整小时时,比如按hour的0分时,按天的0点0分时,新分区的添加是会延迟9分钟才执行的,这就有可能导致这段没有及时添加新分区的时间里,新数据的插入因为没有对应的分区,而会丢失的,但是这种插入是不会报错的。 -- 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