mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
[DOCS] Clarify max_count
only counts successful snapshot attempts (#79749)
The create SLM policy API's `max_count` parameter limits the number of snapshots for a policy. Only successful snapshot attempts count toward this limit. Failed snapshot attempts do not.
This commit is contained in:
parent
f8d8702b88
commit
d65ed5649a
2 changed files with 5 additions and 2 deletions
|
@ -90,7 +90,9 @@ deletion. {slm-init} deletes expired snapshots based on the
|
||||||
(Optional, integer)
|
(Optional, integer)
|
||||||
Maximum number of snapshots to retain, even if the snapshots have not yet
|
Maximum number of snapshots to retain, even if the snapshots have not yet
|
||||||
expired. If the number of snapshots in the repository exceeds this limit, the
|
expired. If the number of snapshots in the repository exceeds this limit, the
|
||||||
policy retains the most recent snapshots and deletes older snapshots.
|
policy retains the most recent snapshots and deletes older snapshots. This limit
|
||||||
|
only includes snapshots with a <<get-snapshot-api-response-state,`state`>> of
|
||||||
|
`SUCCESS`.
|
||||||
+
|
+
|
||||||
NOTE: The maximum number of snapshots in a repository should not exceed `200`. This ensures that the snapshot repository metadata does not
|
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
|
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
|
||||||
|
|
|
@ -283,6 +283,7 @@ Number of shards that were successfully included in the snapshot.
|
||||||
Number of shards that failed to be included in the snapshot.
|
Number of shards that failed to be included in the snapshot.
|
||||||
====
|
====
|
||||||
|
|
||||||
|
[[get-snapshot-api-response-state]]
|
||||||
`state`::
|
`state`::
|
||||||
+
|
+
|
||||||
--
|
--
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue