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

发现个问题,项目启动的时候register了结构体,并调用fastflow.init,然后在接口中构造dag,调用run方法,但我发现会出现actionName运行2次的情况,或者多次运行之后出现2023/10/09 22:52:18 error: parser get some error%!(EXTRA string=module, string=parser, string=err, *fmt.wrapError=worker do failed: dag instance[482065678661058561] does not found task tree) #38

Closed
mingmingshiliyu opened this issue Oct 9, 2023 · 4 comments · Fixed by #39

Comments

@mingmingshiliyu
Copy link

使用的是项目启动的时候注册的结构体作为action,没有在每次调用的时候重复注册

@ShiningRush
Copy link
Owner

这里的错误信息格式看起来有点奇怪,我已经提了一个PR修复了。
但是原始错误
dag instance[482065678661058561] does not found task tree
这个的成因是因为在没有解析任务树之前就往队列中扔了TaskInstance,看起来是不规范的使用方法导致,可以贴下你的代码

@mingmingshiliyu
Copy link
Author

这里的错误信息格式看起来有点奇怪,我已经提了一个PR修复了。
但是原始错误
dag instance[482065678661058561] does not found task tree
这个的成因是因为在没有解析任务树之前就往队列中扔了TaskInstance,看起来是不规范的使用方法导致,可以贴下你的代码

image 启动的时候注册printaction, 调用接口的时候执行fastflow.init image image 执行dag.run image image

@mingmingshiliyu
Copy link
Author

这里的错误信息格式看起来有点奇怪,我已经提了一个PR修复了。
但是原始错误
dag instance[482065678661058561] does not found task tree
这个的成因是因为在没有解析任务树之前就往队列中扔了TaskInstance,看起来是不规范的使用方法导致,可以贴下你的代码

代码有问题么

@ShiningRush
Copy link
Owner

ShiningRush commented Oct 19, 2023

暂时未从代码上看出问题,请问现在仍然存在吗

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

Successfully merging a pull request may close this issue.

2 participants