From 3ee776b3c1ea10a93ca1cc8fe90b9346fa9b5fe4 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Tue, 16 Nov 2021 12:43:04 -0500 Subject: [PATCH] [DOCS] Remove soft limit for snapshot repositories (#80745) (#80771) As part of #74350, snapshot repositories no longer have a 200 snapshot soft limit. This removes docs related to the limit. # Conflicts: # docs/reference/slm/apis/slm-put.asciidoc # docs/reference/snapshot-restore/take-snapshot.asciidoc --- docs/reference/slm/apis/slm-put.asciidoc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/reference/slm/apis/slm-put.asciidoc b/docs/reference/slm/apis/slm-put.asciidoc index dd8940402b947..992a44ce79da3 100644 --- a/docs/reference/slm/apis/slm-put.asciidoc +++ b/docs/reference/slm/apis/slm-put.asciidoc @@ -77,6 +77,12 @@ exist prior to the policy's creation. You can create a repository using the (Optional, object) Retention rules used to retain and delete snapshots created by the policy. + +We recommend you include retention rules in your {slm-init} policy to delete +snapshots you no longer need. A snapshot repository can safely scale to +thousands of snapshots. However, to manage its metadata, a large repository +requires more memory on the master node. Retention rules ensure a repository's +metadata doesn't grow to a size that could destabilize the master node. ++ .Properties of `retention` [%collapsible%open] ==== @@ -93,10 +99,6 @@ expired. If the number of snapshots in the repository exceeds this limit, the policy retains the most recent snapshots and deletes older snapshots. This limit only includes snapshots with a <> of `SUCCESS`. -+ -NOTE: The maximum number of snapshots in a repository should not exceed `200`. This ensures that the snapshot repository metadata does not -grow to a size which might destabilize the master node. If the `max_count` setting is not set, this limit should be enforced by configuring -other retention rules such that the repository size does not exceed `200` snapshots. `min_count`:: (Optional, integer)