[Twisted-Python] cx_Oracle, Twisted - rollback failed
spiritualmechanic at yahoo.com
Thu Apr 30 15:04:01 EDT 2009
(If anyone gets this twice, apology in advance. I think I jumped the gun in sending the email before I got my acknowledge welcome email for the list.)
It looks like the latest version 8.2 tries to rollback without seeing if the connection is even open or not:
if not self._pool.reconnect:
curs = self._connection.cursor()
log.err(None, "Rollback failed")
seeing the "Rollback failed" log message and then the ConnectionLost
exception being thrown. I have cp_reconnect set to True, so it's
skipping down to the try/except and failing on rollback. Should the
code try to rollback if the connection is lost?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python