cdmikechen commented on PR #989:
URL: https://github.com/apache/submarine/pull/989#issuecomment-1254363919

   @FatalLin 
   I think there should be 2 ways to do this:
   1. the pod's status has different values in different cases, and we can 
block the program processing based on the status. If the status of the pod is 
successful, the program will be executed backwards, and if the pod fails, an 
exception can be thrown.
   ```yaml
   status:
     phase: Running
   ---
   status:
     phase: Failed
   ---
   status:
     phase: Succeeded
   ```
   
   2. synchronise the execution of the prehandler to the database and determine 
if it is blocked based on the current status of the specified prehandler.
   
   I prefer the second approach, given that we may need to probably be tracking 
the dataset detail during experiment and serving. We can discuss the details in 
more detail in the next regular meeting.
   cc @pingsutw 
   


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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to