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 let API call timeout if workflow can't be locked #4341

Conversation

samanbarghi
Copy link
Contributor

What changed?
Returning an error prior to workflow timeout when tryting to lock the
workflow, and if it takes too long.

Why?
API can timeout trying lock the workflow when the system is busy and triggers
many alerts. We are returning an error other than context deadline exceeded.

How did you test it?

Potential risks

Is hotfix candidate?

@samanbarghi samanbarghi force-pushed the feature/no-API-call-timeout-if-workflow-cannot-be-locked branch from cd4ec81 to 9b1fe80 Compare May 15, 2023 23:53
@samanbarghi samanbarghi force-pushed the feature/no-API-call-timeout-if-workflow-cannot-be-locked branch from 9b1fe80 to bc850c3 Compare May 16, 2023 00:21
@samanbarghi samanbarghi marked this pull request as ready for review May 16, 2023 20:41
@samanbarghi samanbarghi requested a review from a team as a code owner May 16, 2023 20:41
@samanbarghi samanbarghi requested a review from yycptt May 17, 2023 21:51
@samanbarghi samanbarghi merged commit 68856fe into temporalio:master May 23, 2023
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