Op 01-03-11 04:41, Shane Hathaway schreef:
> 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.
Thanks! I'll test this.
Maurits van Rees
Web App Programmer at Zest Software: http://zestsoftware.nl
Personal website: http://maurits.vanrees.org/
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org