@@ -272,10 +272,13 @@ policy. Other snapshots don't count toward the policy's retention limits.
272
272
[[snapshot-retention-limits]]
273
273
==== Snapshot retention limits
274
274
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.
279
282
280
283
[discrete]
281
284
[[manually-create-snapshot]]
@@ -536,9 +539,7 @@ from a previous week or month.
536
539
To fix this, you can create multiple {slm-init} policies with the same snapshot
537
540
repository that run on different schedules. Since a policy's retention rules
538
541
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.
542
543
543
544
For example, the following {slm-init} policy takes hourly snapshots with a
544
545
maximum of 24 snapshots. The policy keeps its snapshots for one day.
0 commit comments