-
I'm trying to use the paginated
Both lead to hanging for some prefixes. Because I go through all the pages to build a result vector for each prefix before writing to file, I can see some files are never started, indicating some tasks just hang going through pages. I bubble up the errors by using It's an external cloud storage that adopts the S3 protocol. It's possible some servers just ate up the requests. What I've tried to resolve some occurrences successfully is explicitly setting the timeout I would like to find a way to debug this, or have some community insight on what could be hanging, and resolve the issue. In addition, what's the best timeout config to set in order to counter occasional S3 server glitches while ensuring the call eventually succeeds? The code is in a repo: https://github.com/jrcavani/s3-ops-rust/blob/main/src/bin/generate-obj-manifest.rs (or https://github.com/jrcavani/s3-ops-rust/blob/main/src/bin/generate-obj-manifest.rs for the #611 seems related, but my situation looks to be some tasks hanging, using up the semaphore permits / |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is a very definite possibility of hanging if no operation timeout is set, so setting that timeout is definitely what you want to do. Finding the correct timeout value will require you to do some experimentation. |
Beta Was this translation helpful? Give feedback.
There is a very definite possibility of hanging if no operation timeout is set, so setting that timeout is definitely what you want to do. Finding the correct timeout value will require you to do some experimentation.