[Checkins] SVN: gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py A hack against ZEO server's assumption that the StorageServer component is the
Christian Theune
ct at gocept.com
Mon Nov 9 05:18:31 EST 2009
Log message for revision 105537:
A hack against ZEO server's assumption that the StorageServer component is the
only one accessing a storage within the same process.
Changed:
U gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py
-=-
Modified: gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py
===================================================================
--- gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py 2009-11-09 10:17:25 UTC (rev 105536)
+++ gocept.zeoraid/trunk/src/gocept/zeoraid/storage.py 2009-11-09 10:18:30 UTC (rev 105537)
@@ -545,7 +545,12 @@
def tpc_transaction(self):
"""The current transaction being committed."""
- return self._transaction
+ # XXX Awful hack against ZEO: always return None so the transaction
+ # waiting list of ZEO is never triggered but rather we allow everybody
+ # to block in here. We need to resolve this via a discussion on
+ # zodb-dev.
+ # return self._transaction
+ return
def getTid(self, oid):
"""The last transaction to change an object."""
More information about the checkins
mailing list