victims / victims-web

The victims web application.
GNU Affero General Public License v3.0
8 stars 5 forks source link

Handle submission failures across gears #99

Open abn opened 11 years ago

abn commented 11 years ago

The hashing request might not be sent from a session on the gear with the submission uploaded.

Usually hashing is performed asynchronously post submission, however if gear crashes before processing submission, rehashing might be an issue.

abn commented 11 years ago

As per @gcmurphy 's suggestion, GridFS/mongofiles can be used to achieve this. This will require some work in submissions handling and also in admin.

The mongofiles call can be made from shell as showcased at https://gist.github.com/abn/7484805