user
01/30/2023, 2:51 PMSlowDown errors while using Metaflow's s3c.put_many. I see that the client already is supposed to handle this, but I guess the if there are too many concurrent flows running, the backoff isn't sufficient.
Is there a pattern you would recommend to work around this? Would it make sense to create a feature request to expose the number of retries as a kwarg?user
01/30/2023, 2:52 PMTraceback (most recent call last):
File "/home/ray/venv.mapnik/lib/python3.8/site-packages/metaflow/datatools/s3op.py", line 223, in worker
s3.upload_file(url.local, url.bucket, url.path, ExtraArgs=extra)
File "/home/ray/venv.mapnik/lib/python3.8/site-packages/boto3/s3/inject.py", line 129, in upload_file
return transfer.upload_file(
File "/home/ray/venv.mapnik/lib/python3.8/site-packages/boto3/s3/transfer.py", line 285, in upload_file
raise S3UploadFailedError(
boto3.exceptions.S3UploadFailedError: Failed to upload ... to ...: An error occurred (SlowDown) when calling the PutObject operation (reached max retries: 4): Please reduce your request rate.
Task failed.dry-beach-38304
01/30/2023, 3:25 PMuser
01/30/2023, 4:09 PMmetaflow==2.7.18dry-beach-38304
01/30/2023, 4:39 PMsquare-wire-39606
01/31/2023, 10:28 PMdry-beach-38304
01/31/2023, 10:55 PM