[ZODB-Dev] Wrong blob returned in one of the zeo clients
Shane Hathaway
shane at hathawaymix.org
Mon Feb 28 22:41:59 EST 2011
On 02/28/2011 09:29 AM, Maurits van Rees wrote:
> This is now also happening for some images during normal operation, so
> after any blob migration has been run and existing blob caches have been
> cleared. What happens is that somehow the file contents for
> 0xblahblah.blob in the blob caches can differ between two zeo clients,
> even when the image has not changed at all (only tried with images as it
> is easier to spot than with other files).
Thanks for the report. Looking through the blob code, I noticed that
when the system is using a blob cache, it was possible for a thread to
get a partial file while another thread is downloading that file. I
suspect this is the problem you saw. I have committed a fix.
Shane
More information about the ZODB-Dev
mailing list