Skip to content

Reset sticky queue backlog on empty response #1859

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

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Reset sticky queue backlog on an empty or failed response. This fixes a bug where the worker gets stuck only polling the stick task queue if all the pollers are polling the sticky queue and all the WFT get moved to the normal task queue since the worker will then never update its' backlog count.

This aligns with how the Go SDK works

closes #1858

@Quinn-With-Two-Ns Quinn-With-Two-Ns marked this pull request as ready for review September 7, 2023 15:02
@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner September 7, 2023 15:02
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 18162b7 into temporalio:master Sep 7, 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.

Worker can get stuck only polling sticky queue
2 participants