Retention policy not working at all

I have InfluxDB OSS 2.7.5 and data is kept forever. This happens with all buckets with a retention policy set, for example a bucket with a retention policy of 90 days and shard duration of 24h. My understanding is that anything older than 90 days should just vanish automagically from this bucket, right?

I don’t even have a clue where to start analyzing. Please help!

@ludifu There was a bug that could cause the retention service to crash. This was fixed in InfluxDB 2.7.7. If you upgrade to 2.7.7, the next time the retention enforcement service runs, it should clear out all the expired data.

1 Like

Thank you so much! This is working now as intended.

1 Like