Skip to content

Conversation

@laijianbin
Copy link
Contributor

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a JIRA issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 86.203% when pulling 74f11ff on laijianbin:patch-6 into 20627dd on apache:master.

Copy link
Contributor

@liubao68 liubao68 left a comment

Choose a reason for hiding this comment

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

This is a better than not solution, I approve it.
Notice: please submit new commits with message template like
[SCB-932]Time jump cause the new request injected
to let reviewers associate commits with features.

long newCount = requestCount.incrementAndGet();
long msNow = System.currentTimeMillis();
if (msNow - msCycleBegin > CYCLE_LENGTH) {
//时间跳变(9/21->9/20)会导致本不该拒绝的请求被拒绝
Copy link
Contributor

Choose a reason for hiding this comment

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

new code comments better to be english

@laijianbin
Copy link
Contributor Author

submit another PR

@laijianbin laijianbin closed this Sep 21, 2018
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.

4 participants