MySQL cancel behind pooling proxies: a per-profile choice

Aperta
#449 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
mariadb, mysql, rust
Ambito
cli, database

Direzione di ricerca

Start by tracing the MySQL and MariaDB cancellation flow and profile settings; the issue names no files, tests, or entry points, so locate those in the repository first. Check how session ownership is confirmed and how cancellation connections are created. Done means profiles can disable server-side cancellation, recognized proxies can suggest that setting, and each run reuses one cancel connection.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Need

Since 0.41.2 a MySQL or MariaDB cancel is sent only when the server confirms that the session it reaches is the tab's own; otherwise the tab's connection is closed. One case cannot be confirmed at all: a pooling proxy that forwards connection attributes and shares server connections between clients (for example MySQL Router with connection sharing).

Plan
  • A profile setting to never send a server-side cancel (close the connection instead), for profiles behind such proxies.
  • Recognise the common proxies where they say who they are, and suggest the setting.
  • One cancel connection per run instead of one per attempt.
Lingua principale
Rust
Stelle
166
Fork
8
Merge medio
4h 24m
PR unite (30g)
291

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DokaDev/datarig

Tutte le issue di DokaDev/datarig

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.