-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #19917 +/- ##
==========================================
- Coverage 55.83% 55.83% -0.01%
==========================================
Files 320 320
Lines 44381 44381
==========================================
- Hits 24782 24781 -1
- Misses 17030 17041 +11
+ Partials 2569 2559 -10 ☔ View full report in Codecov by Sentry. |
faec55d
to
c8e93f1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve the Lint Issues for this PR by running the gofumpt
command against the logs.go
. Thanks!
a02d12c
to
ae78498
Compare
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 <[email protected]>
ae78498
to
ab221c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/cherry-pick release-2.13 |
1 similar comment
/cherry-pick release-2.13 |
last try! I'll do it manually :( |
…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 <[email protected]>
…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 <[email protected]>
…#20272) 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 <[email protected]> Co-authored-by: morapet <[email protected]>
…9917) (#20271) 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 <[email protected]> Co-authored-by: morapet <[email protected]>
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()
Checklist:
This is a bug
Closes #7006