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

Detect conflicting version assignment rule updates #13

Open
jlegrone opened this issue Sep 25, 2024 · 0 comments
Open

Detect conflicting version assignment rule updates #13

jlegrone opened this issue Sep 25, 2024 · 0 comments

Comments

@jlegrone
Copy link
Member

It is possible for multiple Temporal clients to make updates to assignment rules that conflict with each other. Eg.

  • Two workers deployed in different k8s namespaces or k8s clusters
  • A human operator manually editing assignment rules via the temporal CLI
  • Any other client that manages assignment rules

The controller should set ownership metadata on each assignment rule that it creates, and switch to manual mode when it observes an active assignment rule that is not managed by itself.

Switching out of manual mode might require another API call to Temporal (eg. to update the ownership metadata).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant