Greetings is it possible to change an influx retention policy on the fly without issue ? For example from 30 days to 90 days ?
i’m just concerned if when i do the policy retention change, can existing data that is being written be affected in a negative way or is it just transparent i’m guessing ?
FWIW I’ve changed rps on production databases a number of times and never had any issues with it.
I think what @bob_monty means is that if an existing retention policy (having a measurement and data already) is altered and the (shard) duration is either increased or reduced, what happens to the data that is already stored within the existing shards.
Will the shard’s be renewed/re-created accordingly?
Edit: I meant altering the shard duration of an existing retention policy.
Below links will you a complete understanding.
And yes based on the Retention policy it will purge the old/exisiting data.