Comment 1 for bug 1041720

Revision history for this message
François Marier (fmarier) wrote :

I think that this is due to a race condition:

1- photo is uploaded but isn't optimized yet
2- photo is assigned to the email
3- we attempt to create a hardlink from the photo in user/ to the email hash in avatar/
4- the photo is optimized and moved to user/ after the hardlink creation failed

So one easy fix for this would be to switch to symlink.

This would also have the advantage of reducing the amount of data rsynced to the mirrors and would make it easy to fix bug #769764.