12 Jun
2010
12 Jun
'10
4:41 a.m.
I know there is some sort of cache, somebody was having a problem with attachments which worked for a little while then disappeared. It turned out the max_packet_size was too small and the cache was holding the pictures for a while. Caleb Ivan Levashew wrote:
I have increased max_packet_size in MySQL and reuploaded every photo. I don't see this problem anymore.
I wonder why it's possible to attach oversized photo (>1Mb), but impossible to delete it (when recycle bin is enabled). I have a hypotesis that there is a write-back cache.
This cache makes it possible to upload 3.5Mb photo, but it fails to write it into a permanent store because of MySQL restriction. Eventually, write-cached item becomes inaccessible.