MySQL: stopping a result on a broken session opens a needless cancel connection
Maintainers usually reply within 1 day
@DokaDev is already working on this.
Since Nov 13, 2026.
Assessment
This issue has not been assessed yet.
Description
Problem
On MySQL, after the client sees a broken answer from the server (the session is marked as no longer reliable), stopping the result still opens an extra connection to cancel the statement before the session is dropped. It is harmless but does needless work against the server.
Proposal
- When the session is already marked unreliable, drop it without opening a cancel connection, with a test
- Dominant language
- Rust
- Stars
- 166
- Forks
- 8
- Avg merge
- 4h 24m
- Merged PRs (30d)
- 291
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DokaDev/datarig
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
DokaDev/datarig#544 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 Half a day Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 Half a day Newbie friendliness 55/100
Maintainers usually reply within 1 day
Similar issues
-
area:compat area:operations documentation ready-for-agent type:afk
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ZcashFoundation/zinder#552 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
storytold/vectorcraft#9229 ·
Maintainers usually reply within 1 day