[Zope-CVS] CVS: Products/Ape/lib/apelib/zodb3 - storage.py:1.10.2.1

Shane Hathaway shane at zope.com
Wed Feb 25 11:04:03 EST 2004


Update of /cvs-repository/Products/Ape/lib/apelib/zodb3
In directory cvs.zope.org:/tmp/cvs-serv9748/lib/apelib/zodb3

Modified Files:
      Tag: ape-fs-oid-branch
	storage.py 
Log Message:
Created ape-fs-oid-branch, which changes Ape to use OIDs on the filesystem.

This solution will enable us to remove some of Ape's patches and
use the filesystem even more like a relational database.  It has been
difficult to find a clean strategy for doing this, but we're finally almost
there.

More tests pass than fail. ;-)


=== Products/Ape/lib/apelib/zodb3/storage.py 1.10 => 1.10.2.1 ===
--- Products/Ape/lib/apelib/zodb3/storage.py:1.10	Tue Feb 17 00:25:13 2004
+++ Products/Ape/lib/apelib/zodb3/storage.py	Wed Feb 25 11:03:29 2004
@@ -142,9 +142,9 @@
             event, new_hash = self._gwio.store(
                 oid, classification, state, is_new)
             new_h64 = self.hash64(new_hash)
-            if self.scanner is not None:
-                sources = event.mapper.gateway.getPollSources(event)
-                self.scanner.afterStore(oid, self._serial, sources)
+##            if self.scanner is not None:
+##                sources = event.mapper.gateway.getPollSources(event)
+##                self.scanner.afterStore(oid, self._serial, sources)
         finally:
             self._lock_release()
 




More information about the Zope-CVS mailing list