Situation: An application was never synced and has badly configured mint buckets.
Result: Mint worker writes two times to storage, first with increased s3_errors, second setting s3_errors back to zero.
This happens because we handle S3 errors in sync_appourselves while we expect in run the subroutine to throw on anything S3 related. Thus the status from run overwrites the one from sync_app and s3_errors is never more than 1.
Situation: An application was never synced and has badly configured mint buckets. Result: Mint worker writes two times to storage, first with increased s3_errors, second setting s3_errors back to zero.
This happens because we handle S3 errors in
sync_app
ourselves while we expect inrun
the subroutine to throw on anything S3 related. Thus the status fromrun
overwrites the one fromsync_app
and s3_errors is never more than 1.