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: prevent crash during timer expiration after stream is closed #20272

Merged

Conversation

agaudreault
Copy link
Member

@agaudreault agaudreault commented Oct 7, 2024

Cherry pick #19917 because the gcp bot does not seem to be working

…j#19917)

Reorder ticker stop and close merge to prevent send(true) happens after merge is closed, in rare situation when the timer expires exactly at the point between close(merge) and ticker.Stop()

Signed-off-by: morapet <peter@moran.sk>
@agaudreault agaudreault requested a review from a team as a code owner October 7, 2024 16:13
@crenshaw-dev crenshaw-dev merged commit a713e50 into argoproj:release-2.13 Oct 7, 2024
20 of 22 checks passed
@crenshaw-dev crenshaw-dev deleted the manual-cherry-2.13-d66785 branch October 7, 2024 17:53
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.

3 participants