-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Conversation
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. |
There was a problem hiding this comment.
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.
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".
Pushed the change that incorporates CR feedback, rebased, and squashed. PTAL. Thanks! |
[Core] Add retry for insertion logic to make the load process more robust
Thanks for the contribution! |
Happy to contribute! Likewise, thank you for your code reviews, discussions, and contributions to the community here! |
…fixes [Core] Add retry for insertion logic to make the load process more robust
…fixes [Core] Add retry for insertion logic to make the load process more robust
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.