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

Share the Retrying Read Write store in storehaus repo #230

Merged
merged 3 commits into from
May 30, 2014

Conversation

luckysong-zz
Copy link
Contributor

This is a class in science repo that we can retry failed store requests, and this pull is to make it available to all storehaus users.

-- Guanglei

@rubanm
Copy link
Contributor

rubanm commented Apr 18, 2014

Hey Guanglei :) Nice to see this.

There is already a RetryableStore that performs regular puts w/ retryable gets:

Could you move this code into this existing combinator?

Also, a unit test would be nice. You can find several examples here:
https://github.com/twitter/storehaus/tree/develop/storehaus-core/src/test/scala/com/twitter/storehaus

@luckysong-zz
Copy link
Contributor Author

Ruban, thanks for the comments. I have moved the new code into the existing RetryingStore code, and will add more test cases for this.

johnynek added a commit that referenced this pull request May 30, 2014
Share the Retrying Read Write store in storehaus repo
@johnynek johnynek merged commit 5f6d135 into twitter:develop May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants