Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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 (#19917) #20271

Merged

Conversation

agaudreault
Copy link
Member

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:01
@crenshaw-dev
Copy link
Member

Looks like something is broken in the release-2.12 branch, these tests shouldn't be failing.

@crenshaw-dev
Copy link
Member

Merging because it doesn't make the problem worse. I've opened a PR to fix the lint/test issue.

@crenshaw-dev crenshaw-dev merged commit 50271e1 into argoproj:release-2.12 Oct 7, 2024
17 of 21 checks passed
@crenshaw-dev crenshaw-dev deleted the manual-cherry-bcc224b branch October 7, 2024 18:03
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.

4 participants