influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Allow the specification of a write window for retention policies

Open davidby-influx opened this issue 4 months ago • 0 comments

Customer operating "shared" clusters frequently run into issues where a user will attempt to write data in to the cluster and the time is skewed either deeply into the future or significantly into the past.

Clean-up of this "bad data" is then problematic, time consuming, etc.

Add FutureWriteLimit and PastWriteLimit to retention policies. Points which are outside of now() + FutureWriteLimit or now() - PastWriteLimit will be rejected on write with a PartialWriteError.

The default will be zero for both values, which behaves as the current product.

There will be corresponding work for Enterprise and InfluxQL.

davidby-influx avatar Oct 03 '24 01:10 davidby-influx