influxdata / docs-v2

InfluxData Documentation that covers InfluxDB Cloud, InfluxDB OSS 2.x, InfluxDB OSS 1.x, InfluxDB Enterprise, Telegraf, Chronograf, Kapacitor, and Flux.
https://docs.influxdata.com
MIT License
69 stars 258 forks source link

Add note about using timeformat for partition templates #5465

Closed sanderson closed 1 month ago

sanderson commented 2 months ago

It was discovered that if users omit the time format when defining custom partition templates, the template will not include time. This means that partitions never age out, are always "hot," and will never compact. This PR updates the partitioning documentation with notes to call this out.

This behavior will likely change in the future, requiring a time format at the API/service level or at least providing a reasonable default. That's why some things are just commented out.