Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datastore: blockstore should retry when it encounters temp errors #3091

Merged
merged 1 commit into from
Aug 22, 2016

Conversation

whyrusleeping
Copy link
Member

This is still a bit of a WIP, i'm not sure if we should inject the retry datastore in core/builder, or in the blockstore constructor.

License: MIT
Signed-off-by: Jeromy why@ipfs.io

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
@whyrusleeping whyrusleeping added the need/review Needs a review label Aug 18, 2016
@Kubuxu Kubuxu self-assigned this Aug 18, 2016
@whyrusleeping whyrusleeping added the status/in-progress In progress label Aug 18, 2016
@Kubuxu
Copy link
Member

Kubuxu commented Aug 20, 2016

IMO core/builder is good, blockstore is quite general and it shouldn't know about datastore problems.

@Kubuxu Kubuxu removed their assignment Aug 20, 2016
Delay: time.Millisecond * 200,
Retries: 6,
TempErrFunc: isTooManyFDError,
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

take that, disk! 💿

@whyrusleeping
Copy link
Member Author

@Kubuxu LGTY?

@Kubuxu
Copy link
Member

Kubuxu commented Aug 21, 2016

LGTM

@whyrusleeping whyrusleeping merged commit 8830aae into master Aug 22, 2016
@whyrusleeping whyrusleeping deleted the feat/temp-err-retries branch August 22, 2016 16:35
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Aug 22, 2016
@ghost ghost mentioned this pull request Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/review Needs a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants