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

[Workflow] Number of actor keys keeps growing #1109

Closed
clintsinger opened this issue Jun 10, 2023 · 2 comments
Closed

[Workflow] Number of actor keys keeps growing #1109

clintsinger opened this issue Jun 10, 2023 · 2 comments
Labels
area/workflow kind/bug Something isn't working
Milestone

Comments

@clintsinger
Copy link

Expected Behavior

Actual Behavior

When a workflow is executed it is backed by an actor. It appears that the number of actor keys keeps growing rather than being cleaned up. This may be contributing to performance issues.

An example from the daprd log

{"app_id":"service-b","instance":"41d7c78f6c9d","level":"debug","msg":"TestWorkflow_A: saving 13521 keys to actor state store","scope":"dapr.runtime.wfengine","time":"2023-06-10T00:49:56.808823458Z","type":"log","ver":"1.11.0-rc.9"}

Steps to Reproduce the Problem

Run the https://github.com/clintsinger/dapr-Issue6435 project for some time and observe the number of keys increasing and never decreasing.

Release Note

RELEASE NOTE:

@clintsinger clintsinger added the kind/bug Something isn't working label Jun 10, 2023
@halspang halspang added this to the v1.12 milestone Jul 5, 2023
@halspang
Copy link
Contributor

halspang commented Jul 5, 2023

/cc @cgillum

@cgillum
Copy link
Contributor

cgillum commented Jul 5, 2023

This was a runtime issue. The fix is here and will be part of the 1.12 runtime release: dapr/dapr#6618. No SDK changes will be required for this fix.

@halspang halspang closed this as completed Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/workflow kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants