memsql / memsql-python

This repository holds some python libraries and plugins designed to be used with MemSQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: Push down connection-checked errors into non-pooled connection code

carlsverre opened this issue · comments

Right now, when an error occurs in a pooled connection we test to determine if its a connection exception or not - and if it is we raise PoolConnectionException. The idea of this task is to push that logic down into database.py such that all connections have this helpful exception logic. This is helpful since connections can crash due to a lot of different exceptions - and you usually just care that the connection is down.