-
Notifications
You must be signed in to change notification settings - Fork 3.7k
modify the replay logic of routine load job #762
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
modify the replay logic of routine load job #762
Conversation
| private static final int BASE_OF_ERROR_RATE = 10000; | ||
| private static final int DEFAULT_MAX_ERROR_NUM = (int) (BASE_OF_ERROR_RATE * 0.5); | ||
| private static final int ERROR_SAMPLE_NUM = 1000 * 10000; | ||
| private static final int DEFAULT_MAX_ERROR_NUM = 0; |
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.
Please do not set DEFAULT_MAX_ERROR_NUM to 0. The job which does not set this value will be paused when the first commit...
| * currentErrorRows and currentTotalRows is used for check error rate | ||
| * errorRows and totalRows are used for statistics | ||
| */ | ||
| protected long currentErrorRows; |
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.
please use int for currentErrorNum and currentTotalNum
No description provided.