SVN: ZODB/trunk/src/ZEO/StorageServer.py Do a better job of cleaning up after an error.

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <[email protected]>
Log message for revision 104705:
  Do a better job of cleaning up after an error.
  

Changed:
  U   ZODB/trunk/src/ZEO/StorageServer.py

-=-
Modified: ZODB/trunk/src/ZEO/StorageServer.py
===================================================================
--- ZODB/trunk/src/ZEO/StorageServer.py	2009-10-01 19:42:42 UTC (rev 104704)
+++ ZODB/trunk/src/ZEO/StorageServer.py	2009-10-01 19:42:43 UTC (rev 104705)
@@ -568,6 +568,7 @@
 
         except:
             self.storage.tpc_abort(self.transaction)
+            self._clear_transaction()
             raise
 
         resp = self._thunk()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.