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(httpd): abort processing write request when encountering a precision error. #21746

Merged
merged 2 commits into from
Apr 14, 2022

Conversation

StoneYunZhao
Copy link
Contributor

@StoneYunZhao StoneYunZhao commented Jun 25, 2021

abort processing write request when encountering a precision error.

Reproducing:

curl -X POST http://localhost:8086/write?db=1&rp=2&precision=aa

Expect:

{"error":"invalid precision \"aa\" (use n, u, ms, s, m or h)"}

Got:

{"error":"invalid precision \"aa\" (use n, u, ms, s, m or h)"}
{"error":"database not found: \"1\""}

Describe your proposed changes here.

@serenibyss serenibyss added the 1.x label Apr 14, 2022
@serenibyss serenibyss merged commit 997698f into influxdata:master-1.x Apr 14, 2022
chengshiwen pushed a commit to chengshiwen/influxdb that referenced this pull request Aug 11, 2024
chengshiwen pushed a commit to chengshiwen/influxdb that referenced this pull request Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants