DataONEorg / rdataone

R package for reading and writing data at DataONE data repositories
http://doi.org/10.5063/F1M61H5X
36 stars 19 forks source link

Feature request: Make getDataPackage/getDataObject calls to resolve() retry on failure #228

Closed amoeba closed 3 years ago

amoeba commented 6 years ago

It's my understanding that these methods (and maybe others?) make use of the CN.resolve() API call to do their downloading. Sometimes replicas are actually bad and a call to MNStorage.read() will fail. It seems like these methods could retry other replicas when the first replica fails.

gothub commented 3 years ago

@amoeba this was the initial design, and with the changes implemented for issue #266, all replicas are tried until success.

amoeba commented 3 years ago

Awesome, thanks @gothub !