You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - this is an issue in the influx-cli tool: https://github.com/influxdata/influx-cli, not influxdb 2.7 itself. The tool does not support creating an infinite duration bucket with an explicit shard group duration, because it is defaulting the retention to 720hrs (30 days) if the retention is zero but a shard group duration is specified.
Steps to reproduce:
List the minimal actions needed to reproduce the behaviour.
influx bucket create --name "test" --shard-group-duration 10000w -r 0
Expected behaviour:
Should create the bucket since the retention value is zero -> infinite
Actual behaviour:
Error: failed to create bucket: 500 Internal Server Error: retention policy duration must be greater than the shard duration
Environment info:
INFLUXDB_VERSION: 2.7.3
INFLUX_CLI_VERSION: 2.7.3
The text was updated successfully, but these errors were encountered: