Skip to content
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

Fix an incorrect cast from #338 #340

Merged
merged 1 commit into from
Jan 30, 2018
Merged

Conversation

toddpalino
Copy link
Contributor

The code in #338 introduced a bug with a bad cast when updating broker offsets in the ring. This was in an untested code branch, so it wasn't caught. The fix is simply correcting the type that the ring value is cast to for the broker offset ring. I've also added a test of inserting many broker offsets to cover this branch.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 73.923% when pulling 9f3a698 on toddpalino:fix-338-cast into 389ef47 on linkedin:master.

1 similar comment
@coveralls
Copy link

coveralls commented Jan 30, 2018

Coverage Status

Coverage increased (+0.1%) to 73.923% when pulling 9f3a698 on toddpalino:fix-338-cast into 389ef47 on linkedin:master.

@toddpalino toddpalino merged commit a91cf4d into linkedin:master Jan 30, 2018
grumbler pushed a commit to grumbler/Burrow that referenced this pull request Feb 2, 2018
* upstream/master:
  Fix an incorrect cast from linkedin#338 and add a test to cover it (linkedin#340)
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