-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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.0rc32] default retention policy defaults to 168h0m0s instead of 0? #2817
Comments
I'll take a look at this. In the meantime you can set the retention period for the automatically-created policy, to what it was before, using the CLI and the value |
I tried this via the web interface and got a panic Issued this: alter retention policy default on lun_metrics_test duration inf GOMAXPROCS set to 4 goroutine 50 [running]: goroutine 1 [chan receive (nil chan), 2 minutes]: goroutine 6 [syscall, 2 minutes]: goroutine 17 [syscall, 2 minutes, locked to thread]: goroutine 8 [IO wait, 2 minutes]: goroutine 9 [chan receive, 2 minutes]: goroutine 10 [select]: goroutine 11 [select, 1 minutes]: goroutine 12 [select, 2 minutes]: goroutine 19 [chan receive, 2 minutes]: goroutine 20 [select, 2 minutes]: goroutine 21 [select]: goroutine 22 [select, 2 minutes]: goroutine 23 [chan receive, 2 minutes]: goroutine 24 [IO wait, 1 minutes]: goroutine 25 [select]: goroutine 26 [IO wait, 1 minutes]: goroutine 27 [select, 2 minutes]: goroutine 28 [select, 2 minutes]: goroutine 29 [select, 2 minutes]: goroutine 30 [IO wait, 1 minutes]: goroutine 32 [chan receive]: |
Fixed by PR #2838 |
Thanks for the bug report @jonaz -- all fixed. |
In r31 the retention defaulted to duration 0 when i created new databases.
After generating config which looks like this newly created databases get retention duration 168h0m0s. 168h0m0s seems to be defined in the hinted-handoff, but should that affect retention?
reproduce:
rm -rf /root/.influxdb/* (clear the data dirs to start fresh)
curl -G http://localhost:8086/query --data-urlencode "q=CREATE DATABASE testdb"
curl -G http://localhost:8086/query --data-urlencode "q=SHOW RETENTION POLICIES testdb"
this is my config:
The text was updated successfully, but these errors were encountered: