Skip to content

Conversation

@morningman
Copy link
Contributor

No description provided.

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;
Copy link

@linoclapton linoclapton Mar 16, 2019

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;

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

@morningman morningman merged commit 9c8237c into apache:kafka_routine_load Mar 17, 2019
morningman added a commit to morningman/doris that referenced this pull request Mar 25, 2019
morningman added a commit to morningman/doris that referenced this pull request Apr 4, 2019
EmmyMiao87 pushed a commit to EmmyMiao87/incubator-doris that referenced this pull request Apr 23, 2019
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