[ZODB-Dev] RelStorage: getting keep-history wrong results in silent death

Shane Hathaway shane at hathawaymix.org
Thu Nov 4 10:13:14 EDT 2010


On 11/04/2010 06:28 AM, Chris Withers wrote:
> I was having trouble starting a relstorage 1.4.0-backed Zope instance
> this morning. The symptoms were that it would get going fine, until the
> point it tried to open the storages, at which point it would simply
> restart with no logging as to why.
>
> Turns out I had keep-history set to true whereas the database have been
> created with it set to false.
>
> Should this not result in an exception being logged rather than just a
> silent death that causes zdaemon to lamely attempt to restart the instance?

It outputs an error using the logging module and raises an exception. 
Are you saying some code somewhere is nastily swallowing that exception 
and suppressing the log?  I feel your pain.  I'm not sure what I can do 
about it though.

Shane


More information about the ZODB-Dev mailing list