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

[0.9.2] no error on timestamp that exceeds maximum time rage #3789

Closed
beckettsean opened this issue Aug 21, 2015 · 2 comments
Closed

[0.9.2] no error on timestamp that exceeds maximum time rage #3789

beckettsean opened this issue Aug 21, 2015 · 2 comments

Comments

@beckettsean
Copy link
Contributor

The write returns a 204

curl -i -XPOST 'http://localhost:8086/write?db=mydb&precision=s' -d 'ts value=0.64 14401794881'
HTTP/1.1 204 No Content
Request-Id: 2ecf5a9e-482e-11e5-858e-000000000000
X-Influxdb-Version: 0.9.2
Date: Fri, 21 Aug 2015 17:58:09 GMT

but there are no points in the measurement:

> select * from ts where time > now()
> 

The timestamp of 14,401,794,881 seconds exceeds the max value for InfluxDB: https://influxdb.com/docs/v0.9/guides/troubleshooting.html#time-ranges. Presumably we should return an error on the write.

@pauldix
Copy link
Member

pauldix commented Dec 8, 2015

We should accept the write. Instead we should change the default query end time. Logged #5047 to track

@jwilder jwilder removed this from the 0.10.0 milestone Feb 1, 2016
@jsternberg
Copy link
Contributor

Closing this since it seems like we should implement #5047 as @pauldix said instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants