boostorg / boostorg/mysql

Connection pool: trigger reconnection on fatal errors

Aperta
#254 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
C++
Stelle
299
Fork
43
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

If a pooled connection encounters a fatal error (as per #253), we should trigger a re-connection. Currently:
* If the connection gets reset (the default), the error gets detected and re-connection triggers - but we're wasting a server round-trip.
* If the connection doesn't get reset (as per `return_without_reset`), the connection will never be reconnected, which can be problematic.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.