dolthub / vitess

Vitess is a database clustering system for horizontal scaling of MySQL.
http://vitess.io
Apache License 2.0
23 stars 22 forks source link

Add `ConnectionAborted()` callback to `Handler` interface #351

Closed fulghum closed 5 months ago

fulghum commented 5 months ago

In order to support the Aborted_connects status variable, GMS needs to be notified when a connection attempt is aborted in the Vitess layer. This change adds a ConnectionAborted() callback method to Vitess' Handler interface and calls it whenever a connection attempt errors out before it's fully established.

Coordinated with https://github.com/dolthub/go-mysql-server/pull/2546