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: Fixing microsecond precision constant for v1 (#49) #47

Merged
merged 3 commits into from
Apr 17, 2020

Conversation

vlastahajek
Copy link
Collaborator

@vlastahajek vlastahajek commented Apr 16, 2020

Although write protocol is the same for both InflluxDB v1 and v2, there is an incompatibility in precision constant for microseconds used in the write URL, u for v1 vs. us for v2.
Unfortunately, due to the InfluxDB v1 issue #17622, the wrong precision constant is not reported back.
This fix creates a workaround for that. Fixes #49

@vlastahajek vlastahajek changed the title fix: Fixing microsecond precision constant for v1 fix: Fixing microsecond precision constant for v1 (#49) Apr 17, 2020
@vlastahajek vlastahajek force-pushed the fix/precision_param branch from 236d79d to 75e2bc3 Compare April 17, 2020 07:24
@vlastahajek vlastahajek merged commit 47d4477 into tobiasschuerg:master Apr 17, 2020
@vlastahajek vlastahajek deleted the fix/precision_param branch April 17, 2020 08:42
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.

Write a point with precision in microseconds not work correctly
1 participant