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

Do not set idempotency key for HandleQuery #934

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

jlegrone
Copy link
Contributor

@jlegrone jlegrone commented Oct 13, 2022

What was changed

This PR skips setting IdempotencyKey for query spans. Followup to #931.

Why?

Queries aren’t included in workflow history, so the counter can be reset in between workflow replays and we can end up with an idempotency key collision with another query or signal.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@jlegrone jlegrone requested a review from a team as a code owner October 13, 2022 20:52
@cretz cretz merged commit 3f3eca4 into temporalio:master Oct 19, 2022
@jlegrone jlegrone deleted the jlegrone/trace-idempotency-key branch October 19, 2022 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants