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

CREATE RETENTION POLICY not properly checking SHARD DURATION #6178

Closed
e-dard opened this issue Mar 31, 2016 · 0 comments
Closed

CREATE RETENTION POLICY not properly checking SHARD DURATION #6178

e-dard opened this issue Mar 31, 2016 · 0 comments
Milestone

Comments

@e-dard
Copy link
Contributor

e-dard commented Mar 31, 2016

When recreating the same retention policy the SHARD DURATION is not checked properly. If it's different to the existing SHARD DURATION an error should be returned, but one is not.

> CREATE RETENTION POLICY rp0 ON db DURATION 1h REPLICATION 1 SHARD DURATION 60m
> CREATE RETENTION POLICY rp0 ON db DURATION 1h REPLICATION 1 SHARD DURATION 61m
>
> SHOW RETENTION POLICIES ON db
name    duration    shardGroupDuration  replicaN    default
default 0       168h0m0s        1       true
rp0 1h0m0s      1h0m0s          1       false

>
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

No branches or pull requests

1 participant