Open andig opened 1 year ago
This is still a problem in 2.4 OSS
Docs at https://docs.influxdata.com/influxdb/v2.4/organizations/buckets/update-bucket/ don't explain how retention period can be removed.
Any feedback? Seems to be an obvious bug?
Confirmed issue with the UI. Retention policies can be set to never expire by using the influx bucket update
command and setting --retention 0
.
@jeffreyssmith2nd for sake of completeness: could you add docs how to do this via api?
The equivalent API call is documented here: https://docs.influxdata.com/influxdb/v2.4/api/#operation/PatchBucketsID
It would be nice if https://docs.influxdata.com/influxdb/v2.4/organizations/buckets/update-bucket/ could cover how to remove expiry, too.
Year and a half later and still have the same bug?
Steps to reproduce: List the minimal actions needed to reproduce the behavior.
Expected behavior:
List of buckets shows expiration "never"
Actual behavior:
Bucket still shows "30d". After reloading the GUI it remains at 30d.
Environment info:
InfluxDB 2.0.9 Server: d1233b7 Frontend: 9c89e22
Details
This is the UI's XHR request:
This is the server response:
Seems as if the API is ignoring the empty retention rules in the
PATCH
?