[Zodb-checkins] CVS: ZEO/ZEO - StorageServer.py:1.32.6.9

Shane Hathaway shane@cvs.zope.org
Thu, 28 Mar 2002 13:30:16 -0500


Update of /cvs-repository/ZEO/ZEO
In directory cvs.zope.org:/tmp/cvs-serv21692

Modified Files:
      Tag: Standby-branch
	StorageServer.py 
Log Message:
Transactional undo needs to generate invalidation messages.


=== ZEO/ZEO/StorageServer.py 1.32.6.8 => 1.32.6.9 ===
     def transactionalUndo(self, trans_id, id):
         self._check_tid(id, exc=StorageTransactionError)
-        return self.__storage.transactionalUndo(trans_id, self._transaction)
+        oids = self.__storage.transactionalUndo(trans_id, self._transaction)
+        for oid in oids:
+            self.__invalidated.append((oid, None))
+        return oids
 
     def undo(self, transaction_id):
         oids = self.__storage.undo(transaction_id)