stex icon indicating copy to clipboard operation
stex copied to clipboard

Unrecoverable Error: Cannot enqueue Query after fatal error.

Open nullstyle opened this issue 11 years ago • 2 comments
trafficstars

If a connection is killed by mysql, or the running stex application otherwise gets its connection into a fatal state, stex does not properly recover and the service requires a restart to resume normal function.

Instead, stex needs to validate/reconnect to the db at the HTTP request boundary if no connection is available, and we need to close connections after we receive a fatal error.

nullstyle avatar Sep 27 '14 17:09 nullstyle

The error: Cannot read property '__cid' of undefined

nullstyle avatar Oct 13 '14 23:10 nullstyle

This first step to having recoverable connection errors is here:

https://github.com/bookshelf/generic-pool-redux/pull/4

nullstyle avatar Oct 14 '14 00:10 nullstyle