[ZODB-Dev] Relstorage pack problems

Shane Hathaway shane at hathawaymix.org
Thu Jan 22 20:45:53 EST 2009


Laurence Rowe wrote:
> Shane Hathaway wrote:
>> I should note that this KeyError occurs while trying to report on a
>> KeyError.  I need to fix that.  Fortunately, the same error pops out anyway.
> 
> There's a fix for this in the Jarn branch. Note that to collect more 
> interesting data it rolls back the load connection at this point, 
> relying on the KeyError to cause the transaction to fail.

I saw that, but I didn't feel good about the idea of rolling back the 
transaction.  I wanted the log message to show the state of the database 
as seen by that connection at that moment in time.  That's the kind of 
information you can't get with a SQL query executed at a later time.  I 
figured that if you really want to see all object states, you can just 
use SQL queries later.

Shane


More information about the ZODB-Dev mailing list