Rename canRecoverFromDisconnect() in order to better describe its function. Make it use the transaction ID and query walltime as arguments and return an ERR_* class constant instead of a bool. Avoid retries of slow queries that yield lost connection errors. Track session state errors caused by the loss of named locks or temp tables (e.g. during connection loss). Such errors will prevent further queries except for rollback() and flushSession(), which must be issued to resolve the error. Add flushPrimarySessions() methods to LBFactory/LoadBalancer and use it in places where session state loss is meant to be safely aknowledged. Change-Id: I60532f86e629c83b357d4832d1963eca17752944 |
||
|---|---|---|
| .. | ||
| domain | ||
| position | ||
| resultwrapper | ||
| utils | ||
| Database.php | ||
| DatabaseMysqlBase.php | ||
| DatabaseMysqli.php | ||
| DatabasePostgres.php | ||
| DatabaseSqlite.php | ||
| DBConnRef.php | ||
| IDatabase.php | ||
| IMaintainableDatabase.php | ||
| MaintainableDBConnRef.php | ||
| TransactionManager.php | ||