WingsGo commented on a change in pull request #2317: Support Dynamic Partition
URL: https://github.com/apache/incubator-doris/pull/2317#discussion_r351991164
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java
 ##########
 @@ -1153,6 +1158,10 @@ private void startMasterOnlyDaemonThreads() {
         // start routine load scheduler
         routineLoadScheduler.start();
         routineLoadTaskScheduler.start();
+        // start dynamic partition task
+        dynamicPartitionScheduler.setName("DynamicPartitionScheduler");
+        
dynamicPartitionScheduler.setInterval(Config.dynamic_partition_check_interval_seconds
 * 1000L);
+        dynamicPartitionScheduler.start();
 
 Review comment:
   > Would better add a config to disable or enable this feature.
   
   Ok, I will add a dynamic_partition_enable config

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to