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

RP should not allow INF or 0 as a shard duration #7563

Closed
beckettsean opened this issue Nov 1, 2016 · 0 comments
Closed

RP should not allow INF or 0 as a shard duration #7563

beckettsean opened this issue Nov 1, 2016 · 0 comments

Comments

@beckettsean
Copy link
Contributor

Bug report

System info: [Include InfluxDB version, operating system name, and other relevant details]

InfluxDB 1.0.x

Actual behavior: [What actually happened]

CREATE RP and ALTER RP queries will accept INF as a valid duration, which should not be accepted, as shards must have an explicit end time. What ends up happening is the shards have a 1s duration, effectively meaning all data is dropped as soon as it is written.

Desired behavior:

Throw an error and reject the RP query.

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

3 participants