Warning! Data loss bug when image move times out
|Posted: Fri, 2012-08-10 01:28|
So, for whatever reason, moving images on my system using the organizer is terribly slow. The system itself is fast and does not appear to be misconfigured, so I'm not sure what's up.
However, there's a more serious problem. When I tried to move more than twenty photos at once (because I was able to trick the organizer into selecting them despite its best efforts to foil me), I got an error message telling me to contact the systems administrator.
Since that's me, I checked in the logs, which tell me "mod_fcgid: read data timeout in 40 seconds". That's the default read data timeout, and seems pretty highly reasonable.
The error message isn't the problem, though. The problem is that for each time this message occurs, there is very reliably an image left behind in the directory I'm moving from, but no longer in the database. Running the fix-up operation in the maintenance panel did not help.
Gallery needs to be more careful in ensuring that data loss is never the failure state.
|Login or register to post comments|