You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes Workflows not usable with certain state stores such as Cosmos DB.
After discussing with @cgillum offline, we think the best approach may be to change how actor IDs are named by workflows, using a different character. This will be a breaking change (on an alpha building block), but because the # is not commonly used, we are unsure what other issues may appear.
The text was updated successfully, but these errors were encountered:
It would be nice if the delimiter was configurable on any state store when enabling actorStateStore. That way it would still be backwards compatible. You never know which database accepts which characters or when users actually want to use those reserved characters (e.g. in a workflow name)
- name: actorStateStore
value: "true"
- name: actorStateStoreReservedCharacters
value: "|#" # probably better to split this into multiple variables
Hi @artursouza. Can we reopen this issue? The PR that closed it didn't fully resolve the problem. I realized there are still cases where we might use # in the actor ID - specifically, we need to update some internal code in workflow.go.
In what area(s)?
/area runtime
What version of Dapr?
Description
This issue was originally reported by @mPyKen here:
When Workflows creates the actor ID, it includes a
#
in the name: dapr/components-contrib#2071 (comment)https://github.com/dapr/dapr/blob/beef33d04f9528e312fe5d71ab6318a9c0728830/pkg/runtime/wfengine/workflow.go#L466-L470
This makes Workflows not usable with certain state stores such as Cosmos DB.
After discussing with @cgillum offline, we think the best approach may be to change how actor IDs are named by workflows, using a different character. This will be a breaking change (on an alpha building block), but because the
#
is not commonly used, we are unsure what other issues may appear.The text was updated successfully, but these errors were encountered: