quadratic-funding / mpc-phase2-suite

The MPC suite of tools for conducting zkSNARK Phase 2 Trusted Setup ceremonies
MIT License
16 stars 6 forks source link

MultiPart Upload should be aborted when abruptly interrupted and no longer resumable #322

Open 0xjei opened 1 year ago

0xjei commented 1 year ago

It may happen that a MultiPart Upload with AWS S3 is started but not completed. In some cases, you can resume the upload from the latest updated chunk (e.g., contribution step), but sometimes is not possible (e.g., setup or finalize).

As a result, we should catch these situations and perform an abort of the upload in order to avoid unnecessary consumption of space inside AWS S3 with deattached pending requests.