cadence的workflow执行历史中出现多个open状态的workflow #4395
-
如图所示,在workflow的执行历史上我们发现有多个处于open状态的workflow,但是其实际情况是已经执行完成了,并且没有pending的task。查看cadence-server的日志发现存在这样一些error。 这是什么原因呢? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Can you describe the workflow to check if it’s actually closed? Using basic visibility may cause this because sampling is enabled by default. If that’s the case, you can disable it in the dynamic config |
Beta Was this translation helpful? Give feedback.
-
I am disabling it by default from next release #4407 |
Beta Was this translation helpful? Give feedback.
Can you describe the workflow to check if it’s actually closed?
Using basic visibility may cause this because sampling is enabled by default.
If that’s the case, you can disable it in the dynamic config
See EnableVisibilitySampling
In https://pkg.go.dev/github.com/uber/[email protected]/common/dynamicconfig#Key