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 large integers getting converted to floats during remote writes #2967

Merged
merged 1 commit into from
Jun 12, 2015

Conversation

jwilder
Copy link
Contributor

@jwilder jwilder commented Jun 12, 2015

Fixes #2960

Integers were were written back to line protocol using strconv.FormatFloat
incorrectly. Large integers are written in scientific notation which
causes their type to change to a float when parsed back. This only happens with remote writes in a cluster.

Fixes #2960

Integers were were written back to line protocol using strconv.FormatFloat
incorrectly.  Large integers are written in scientific notation which
causes their type to change to a float when parsed back.
@corylanou
Copy link
Contributor

+1. Good catch.

@pauldix
Copy link
Member

pauldix commented Jun 12, 2015

+1

jwilder added a commit that referenced this pull request Jun 12, 2015
Fix large integers getting converted to floats during remote writes
@jwilder jwilder merged commit 272bfb0 into master Jun 12, 2015
@jwilder jwilder deleted the jw-2960 branch June 12, 2015 17:27
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