-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Description
GcsFileSystem will attempt to retry if it gets a non-permanent error (such as couldn't connect to server). That's fine, except: (1) the sleep call used by the retry doesn't seem to check for interrupts and (2) the default retry timeout is 15 minutes!
The following snippets will hang for 15 minutes if you run them and wait about 5 seconds before trying to do a keyboard interrupt (CTRL+C):
Rscript -e 'library(arrow); fs <- GcsFileSystem$create(endpoint_override="localhost:1234", anonymous=TRUE); fs$CreateDir("x")'
python -c 'from pyarrow.fs import GcsFileSystem; fs = GcsFileSystem(endpoint_override="localhost:1234", anonymous=True); fs.create_dir("x")'
Reporter: Will Jones / @wjones127
Related issues:
- [R][C++] Allow cancelling long-running commands (relates to)
Note: This issue was originally created as ARROW-17020. Please see the migration documentation for further details.