OpenSearch/client
David Roberts 7aa0daaabd
[7.x][ML] More advanced model snapshot retention options (#56194)
This PR implements the following changes to make ML model snapshot
retention more flexible in advance of adding a UI for the feature in
an upcoming release.

- The default for `model_snapshot_retention_days` for new jobs is now
  10 instead of 1
- There is a new job setting, `daily_model_snapshot_retention_after_days`,
  that defaults to 1 for new jobs and `model_snapshot_retention_days`
  for pre-7.8 jobs
- For days that are older than `model_snapshot_retention_days`, all
  model snapshots are deleted as before
- For days that are in between `daily_model_snapshot_retention_after_days`
  and `model_snapshot_retention_days` all but the first model snapshot
  for that day are deleted
- The `retain` setting of model snapshots is still respected to allow
  selected model snapshots to be retained indefinitely

Backport of #56125
2020-05-05 14:31:58 +01:00
..
benchmark Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
client-benchmark-noop-api-plugin Remove Xlint exclusions from gradle files 2020-02-20 14:12:05 +00:00
rest Remove deprecated third-party methods from tests (#55255) (#55269) 2020-04-15 17:54:47 -04:00
rest-high-level [7.x][ML] More advanced model snapshot retention options (#56194) 2020-05-05 14:31:58 +01:00
sniffer Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00
test Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00
transport [7.x] Re-add origin url information to publish POM files (#55173) 2020-04-14 13:24:15 -07:00