-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
Currently ML anomaly detector model snapshots are written every 3-4 hours and retained for a number of days (default 1) specified in the model_snapshot_retention_days setting of the job configuration.
Many users have a desire to store model snapshots for longer than the default of 1 day. However, this means that 6-8 potentially large model snapshots are retained for each extra day that is configured.
It would be nicer if the retention policy could be changed to something like "retain all model snapshots for 1 day, plus 1 model snapshot per day for 6 days before that, plus 1 model snapshot per week for 21 days before that".
This leads to some questions:
- How could we allow such policies to be configured in a way that is backwards compatible with our current configuration setting?
- Or, should we completely change the way model snapshot retention is configured as a breaking change in 8.0, and migrate the existing setting to the new format on upgrade to 8.x?
Once the configuration mechanism is decided it should not be very difficult to make the code changes necessary to action the configured policy.