baiyangtx commented on code in PR #4097:
URL: https://github.com/apache/amoro/pull/4097#discussion_r2836157739


##########
amoro-common/src/main/java/org/apache/amoro/process/ProcessFactory.java:
##########
@@ -44,5 +63,5 @@ public interface ProcessFactory {
    * @param state state of the process
    * @return target process which has not been submitted yet.
    */
-  AmoroProcess recover(TableRuntime tableRuntime, TableProcessState state);
+  TableProcess recover(TableRuntime tableRuntime, TableProcessStore store);

Review Comment:
   Maybe in this case you should throw an exception? 
   
   How about define an `UnableRecoverProcess` Exception ? 



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