Skip to content

Conversation

@wxing1292
Copy link
Contributor

What changed?

  • Do timeout check after shard lock acquired, not before

Why?
When shard lock contention occurs, caller coroutine can wait a long time before acquiring shard lock, consequent IO operation may not have enough timeout left.

How did you test it?
N/A

Potential risks
N/A

Is hotfix candidate?
Yes

@wxing1292 wxing1292 requested review from meiliang86, yux0 and yycptt May 5, 2023 01:13
@wxing1292 wxing1292 requested a review from a team as a code owner May 5, 2023 01:13
@wxing1292 wxing1292 merged commit 9fdd08c into temporalio:master May 5, 2023
@wxing1292 wxing1292 deleted the i++ branch May 5, 2023 16:51
rodrigozhou pushed a commit that referenced this pull request May 13, 2023
* Do timeout check after shard lock acquired, not before
rodrigozhou pushed a commit that referenced this pull request May 16, 2023
* Do timeout check after shard lock acquired, not before
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants