ipfs / go-ds-flatfs

A datastore implementation using sharded directories and flat files to store data
MIT License
46 stars 21 forks source link

alway take backoff retry loop on rename operations #81

Closed willscott closed 4 years ago

willscott commented 4 years ago

there may be some types of errors (i'm thinking of "ErrNotExist") that would be worth short-circuiting on.

Stebalien commented 4 years ago

Looking through this, I believe we've been doing the retries at the wrong level: https://github.com/ipfs/go-ds-flatfs/pull/82

willscott commented 4 years ago

closing in favor of #82