Skip to content

Fix: #1222 Verify size is valid#1280

Merged
ctubbsii merged 3 commits intoapache:2.0from
Manno15:acc_1222
Jul 23, 2019
Merged

Fix: #1222 Verify size is valid#1280
ctubbsii merged 3 commits intoapache:2.0from
Manno15:acc_1222

Conversation

@Manno15
Copy link
Copy Markdown
Contributor

@Manno15 Manno15 commented Jul 19, 2019

Made the requested changes from Christopher in issue #1222.

Tested using continuous ingest with agitation and did not run into the bug. Please let me know if I should do further testing or make any corrections

Copy link
Copy Markdown
Member

@ctubbsii ctubbsii left a comment

Choose a reason for hiding this comment

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

👍 Could change this PR base to 2.0.

@Manno15 Manno15 changed the base branch from master to 2.0 July 22, 2019 13:01
@Manno15 Manno15 closed this Jul 22, 2019
@Manno15 Manno15 reopened this Jul 22, 2019
@Manno15
Copy link
Copy Markdown
Contributor Author

Manno15 commented Jul 22, 2019

Ignore the next set of changes. Ran into some small issues changing the base to 2.0. Hopefully everything is in order now.

Copy link
Copy Markdown
Contributor

@hkeebler hkeebler left a comment

Choose a reason for hiding this comment

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

Curious, why not use

If (size > 0)
  updateMetrics.addCommitTime((long) (time / (double) size));

@ctubbsii
Copy link
Copy Markdown
Member

Curious, why not use

If (size > 0)
  updateMetrics.addCommitTime((long) (time / (double) size));

I agree, this would be more succinct.

@ctubbsii ctubbsii merged commit 77a5358 into apache:2.0 Jul 23, 2019
@Manno15 Manno15 deleted the acc_1222 branch July 23, 2019 15:09
@ctubbsii ctubbsii added this to the 2.0.0 milestone Jul 12, 2024
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.

3 participants