ShiningRush / fastflow

A lightweight, high-performance distributed workflow framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

发现个问题,项目启动的时候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)

mingmingshiliyu opened this issue · comments

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

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

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

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

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

代码有问题么

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