Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Unrecoverable Error: Cannot enqueue Query after fatal error. #20

Open
nullstyle opened this issue Sep 27, 2014 · 2 comments
Open

Unrecoverable Error: Cannot enqueue Query after fatal error. #20

nullstyle opened this issue Sep 27, 2014 · 2 comments
Assignees

Comments

@nullstyle
Copy link
Contributor

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
Copy link
Contributor Author

The error: Cannot read property '__cid' of undefined

@nullstyle
Copy link
Contributor Author

This first step to having recoverable connection errors is here:

knex/generic-pool-redux#4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant