[Zope] ConflictError with *one* ZEO client?

Jens Vagelpohl jens at dataflake.org
Wed Jun 28 05:19:40 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 28 Jun 2006, at 11:13, Richard Jones wrote:

> On Wednesday 28 June 2006 18:31, Jens Vagelpohl wrote:
>> Are you using persistent ZEO caches? Those have been known to cause
>> odd symptoms here and there...
>
> What do you mean by "persistent"? I have noticed strange beahviours  
> if I don't
> remove the caches when I do a full (client + server) restart. Removing
> the .zec files is part of my standard full restart maintenance  
> routine now.

If you look at the zeoclient stanza inside the zodb_db main section  
in your zope.conf you see this:

      # Uncomment to have a persistent disk cache
      #client zeo1

This option gives you a persistent ZEO disk cache, which means the  
cache file is retained across restarts. I assume you have that  
uncommented, otherwise the .zec files would not hang around. If you  
comment it you won't have to worry about .zec files anymore, and  
about odd behaviors.

This option does *not* mean "use a cache at all? yes or no", it just  
means "keep the cache file around".

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEokmtRAx5nvEhZLIRAtjBAJ9OgccZdZA18BBLN9BiBczL1Oy77ACglem7
BQDRCxJJyPeH6D9mjCoHsj0=
=Ojil
-----END PGP SIGNATURE-----


More information about the Zope mailing list