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

[Core] Add retry for insertion logic to make the load process more robust #527

Merged
merged 3 commits into from Dec 12, 2015
Merged

Conversation

ghost
Copy link

@ghost ghost commented Dec 9, 2015

The default behavior is NO RETRY, which is the current behavior.

But optionally user can enable retry if they are working with a DB backend that is better tolerated by allowing a few retries.

This is for issue #508

Notes for reviewers: The first commit is purely formatting change only, the second commit is the change.

@ghost
Copy link
Author

ghost commented Dec 9, 2015

@busbey, @kruthar, please take a look when you get a chance. Thanks!

@ghost
Copy link
Author

ghost commented Dec 11, 2015

Guys, would you have time to take a look at this soon? I will be offline in about 5 calendar days, would like to wrap this up before then if possible. Thanks!

@@ -1,11 +1,11 @@
/**
* Copyright (c) 2010 Yahoo! Inc. All rights reserved.
*
* Copyright (c) 2010 Yahoo! Inc. All rights reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

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

note to other reviewers, this copyright header is wrong but the problem is covered by #313.

@busbey
Copy link
Collaborator

busbey commented Dec 12, 2015

overall looks straight forward. I'll check back again later this evening.

- Remove trailing whitespaces,
- Break longlines to below 120 chars
- Right indentation.

This is to prepare for the next commit that will add retry logic to insert to make the load process more fault tolerant.
…bust

The default behavior is NO RETRY, which is the current behavior.

But optionally user can enable retry if they are working with a DB backend that is better tolerated by allowing a few retries.
Prefix the retry limit property name with core_workload.

[core] Incorporate CR Feedback

Prefix the retry limit property with "core_workload".
@ghost
Copy link
Author

ghost commented Dec 12, 2015

Pushed the change that incorporates CR feedback, rebased, and squashed.

PTAL. Thanks!

busbey added a commit that referenced this pull request Dec 12, 2015
[Core] Add retry for insertion logic to make the load process more robust
@busbey busbey merged commit e54dbdb into brianfrankcooper:master Dec 12, 2015
@busbey
Copy link
Collaborator

busbey commented Dec 12, 2015

Thanks for the contribution!

@ghost
Copy link
Author

ghost commented Dec 13, 2015

Happy to contribute! Likewise, thank you for your code reviews, discussions, and contributions to the community here!

jaricftw pushed a commit to jaricftw/YCSB that referenced this pull request Jul 19, 2016
…fixes

[Core] Add retry for insertion logic to make the load process more robust
jaricftw pushed a commit to jaricftw/YCSB that referenced this pull request Jul 19, 2016
…fixes

[Core] Add retry for insertion logic to make the load process more robust
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.

2 participants