Catch and deal with UploadStashZeroLengthFileException when removing stashed files
authorReedy <reedy@wikimedia.org>
Thu, 27 Sep 2012 18:08:47 +0000 (19:08 +0100)
committerReedy <reedy@wikimedia.org>
Thu, 27 Sep 2012 18:08:47 +0000 (19:08 +0100)
commit25a103f9f5b40562aadeff80eddc24c282607a72
tree82899b94057091b5fae43a00e20c02fc97db6f2d
parent66d0bc0527f6c04495be1605e5a28b9e7a8c033e
Catch and deal with UploadStashZeroLengthFileException when removing stashed files

Seen on the cluster and it halts script execution

reedy@fenari:/home/wikipedia/common$ mwscript cleanupUploadStash.php commonswiki
Getting list of files to clean up...
Removing 52958 file(s)...
File is zero length
Backtrace:

Change-Id: I740111ca20473c495a4a51edafa156169fe6dd4d
maintenance/cleanupUploadStash.php