Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果一个task节点被唤起,同时outgoing节点中配置了repeateList,无法重试outgoing节点 #7

Open
DaredevilDA opened this issue Jan 9, 2020 · 1 comment

Comments

@DaredevilDA
Copy link

com/tmall/pokemon/bulbasaur/persist/PersistMachine.java:113
StateLike copyCurrentState = currentState;//currentState 为final,做替身 if (currentState.getOutGoing() != null) { //先complete 之前停掉的 completeState(currentState); // 直接替换 copyCurrentState = run0_findCurrent(currentState.getOutGoing()); //先初始化当前 initNextState(copyCurrentState); }

outgoing中的BizException被算在了task上,这部分异常是不是应该拆开,outgoing节点被唤起,就可以标志task节点执行成功,outgoing节点内产生的BizException要算在outgoing身上

@fromcth
Copy link
Contributor

fromcth commented Jul 18, 2021

com/tmall/pokemon/bulbasaur/persist/PersistMachine.java:113
StateLike copyCurrentState = currentState;//currentState 为final,做替身 if (currentState.getOutGoing() != null) { //先complete 之前停掉的 completeState(currentState); // 直接替换 copyCurrentState = run0_findCurrent(currentState.getOutGoing()); //先初始化当前 initNextState(copyCurrentState); }

outgoing中的BizException被算在了task上,这部分异常是不是应该拆开,outgoing节点被唤起,就可以标志task节点执行成功,outgoing节点内产生的BizException要算在outgoing身上

感谢反馈,我翻代码验证一下看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants