xiaohui-sun commented on a change in pull request #5142: [TE] Detection 
creation endpoints should trigger Replay & Tuning
URL: https://github.com/apache/incubator-pinot/pull/5142#discussion_r391237311
 
 

 ##########
 File path: 
thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/YamlResource.java
 ##########
 @@ -380,6 +380,9 @@ long createDetectionConfig(@NotNull String payload, long 
startTime, long endTime
     Long id = this.detectionConfigDAO.save(detectionConfig);
     Preconditions.checkNotNull(id, "Error while saving the detection 
pipeline");
 
+    // create an yaml onboarding task to run replay and tuning
+    createYamlOnboardingTask(detectionConfig.getId(), startTime, endTime);
 
 Review comment:
   Will this cause lot of system burden if user bulk onboarding using API?

----------------------------------------------------------------
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