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

fix bug in sync retries #3418

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

fix bug in sync retries #3418

wants to merge 1 commit into from

Conversation

joshua-kim
Copy link
Contributor

@joshua-kim joshua-kim commented Sep 25, 2024

Why this should be merged

Looks like we were calling m.unprocessedWorkCond.Signal() twice when we hit an error we tried to retry on since both retryWork and finishWorkItem signaled the semaphore.

How this works

Only call either retryWork or finishWorkItem once

How this was tested

CI

Signed-off-by: Joshua Kim <[email protected]>
@joshua-kim joshua-kim self-assigned this Sep 25, 2024
@joshua-kim joshua-kim added the bug Something isn't working label Sep 25, 2024
@joshua-kim joshua-kim added this to the v1.11.12 milestone Sep 25, 2024
@StephenButtolph StephenButtolph modified the milestones: v1.11.12, v1.11.13 Oct 17, 2024
Copy link

This PR has become stale because it has been open for 30 days with no activity. Adding the lifecycle/frozen label will cause this PR to ignore lifecycle events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: In Review 👀
Development

Successfully merging this pull request may close these issues.

2 participants