[ZODB-Dev] ZEO and BDBMinimalStorage

fzachman fzachman at codeit.com
Wed Jul 9 22:24:08 EDT 2003


Hello again.  Back with my daily question. ;)

I'm attempting to run Zope 2.6.1 + ZODB3 3.2 + ZEO 2.1b2.  In addition
the server is using a DBDMinimalStorage to handle the Session data
accross all the clients.  However, when a client attempts to connect to
the server I get this error in the server logs:

2003-07-09T14:31:55 DEBUG(-200) zrpc-conn:192.168.20.202:38347 calling
register('sessiondata', 0)
------
2003-07-09T14:31:55 INFO(0) zrpc-conn:192.168.20.202:38347 register()
raised exception: BDBMinimalStorage instance has no
attribute 'lastTransaction'
Traceback (most recent call last):
  File "/usr/local/ZEO_Server/lib/python/ZEO/zrpc/connection.py", line
260, in handle_request
    ret = meth(*args)
  File "/usr/local/ZEO_Server/lib/python/ZEO/StorageServer.py", line
216, in register
    self.setup_delegation()
  File "/usr/local/ZEO_Server/lib/python/ZEO/StorageServer.py", line
160, in setup_delegation
    self.lastTransaction = self.storage.lastTransaction
AttributeError: BDBMinimalStorage instance has no attribute
'lastTransaction'


I've looked, and BDBMinimalStorage indeed doesn't have a lastTransaction
method (though FullStorage does...)  Is this a problem in the
MinimalStorage or in the way the StorageServer is dealing with
lastTransaction?  It looks like it's required (to get the thread id in
tpc_finish) so it should probably be implimented in MinimalStorage but
I'm not sure what that tid is used for in the calling functions...

Anyone else using BDBMinimalStorage with the newest version of ZEO? 
Should I file this as a bug or is it already known?

Thanks
Forest




More information about the ZODB-Dev mailing list