Skip to content

Commit ff04cad

Browse files
authored
[DOCS] Remove soft limit for snapshot repositories (#80745) (#80769)
As part of #74350, snapshot repositories no longer have a 200 snapshot soft limit. This removes docs related to the limit.
1 parent f239513 commit ff04cad

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

docs/Versions.asciidoc

-4
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,3 @@ ifeval::["{source_branch}"=="7.x"]
6868
:apm-server-ref-v: {apm-server-ref-m}
6969
:apm-overview-ref-v: {apm-overview-ref-m}
7070
endif::[]
71-
72-
// Max recommended snapshots in a snapshot repo.
73-
// Used in the snapshot/restore docs.
74-
:max-snapshot-count: 200

docs/reference/slm/apis/slm-put.asciidoc

-4
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,13 @@ Time period after which a snapshot is considered expired and eligible for
8686
deletion. {slm-init} deletes expired snapshots based on the
8787
<<slm-retention-schedule,`slm.retention_schedule`>>.
8888
89-
// To update {max-snapshot-count}, see docs/Version.asciidoc
9089
`max_count`::
9190
(Optional, integer)
9291
Maximum number of snapshots to retain, even if the snapshots have not yet
9392
expired. If the number of snapshots in the repository exceeds this limit, the
9493
policy retains the most recent snapshots and deletes older snapshots. This limit
9594
only includes snapshots with a <<get-snapshot-api-response-state,`state`>> of
9695
`SUCCESS`.
97-
+
98-
NOTE: This value should not exceed {max-snapshot-count}. See
99-
<<snapshot-retention-limits>>.
10096
10197
`min_count`::
10298
(Optional, integer)

docs/reference/snapshot-restore/take-snapshot.asciidoc

+8-7
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,13 @@ policy. Other snapshots don't count toward the policy's retention limits.
272272
[[snapshot-retention-limits]]
273273
==== Snapshot retention limits
274274

275-
While not a hard limit, a snapshot repository shouldn't contain more than
276-
{max-snapshot-count} snapshots at a time. This ensures the repository's metadata
277-
doesn't grow to a size that may destabilize the master node. We recommend you
278-
set up your {slm-init} policy's retention rules to enforce this limit.
275+
We recommend you include retention rules in your {slm-init} policy to delete
276+
snapshots you no longer need.
277+
278+
A snapshot repository can safely scale to thousands of snapshots. However, to
279+
manage its metadata, a large repository requires more memory on the master node.
280+
Retention rules ensure a repository's metadata doesn't grow to a size that could
281+
destabilize the master node.
279282

280283
[discrete]
281284
[[manually-create-snapshot]]
@@ -536,9 +539,7 @@ from a previous week or month.
536539
To fix this, you can create multiple {slm-init} policies with the same snapshot
537540
repository that run on different schedules. Since a policy's retention rules
538541
only apply to its snapshots, a policy won't delete a snapshot created by another
539-
policy. However, you'll need to ensure the total number of snapshots in the
540-
repository doesn't exceed the <<snapshot-retention-limits,{max-snapshot-count}
541-
snapshot soft limit>>.
542+
policy.
542543

543544
For example, the following {slm-init} policy takes hourly snapshots with a
544545
maximum of 24 snapshots. The policy keeps its snapshots for one day.

0 commit comments

Comments
 (0)