MySQL: stopping a result on a broken session opens a needless cancel connection

Open
#391 0 comments 0 reactions 1 assignee View on GitHub

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

bug
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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DokaDev/datarig

All issues in DokaDev/datarig

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.