Skip to content

Commit ba03453

Browse files
committed
Document 'max_size' parameter as shard size for rollover (#38750)
It was not clear that this is *primary* shard size, not the entire shard size. Resolves #37981
1 parent 9808a45 commit ba03453

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

docs/reference/ilm/policy-definitions.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ existing index meets one of the rollover conditions.
390390
[options="header"]
391391
|======
392392
| Name | Required | Default | Description
393-
| `max_size` | no | - | max index storage size.
393+
| `max_size` | no | - | max primary shard index storage size.
394394
See <<byte-units, Byte Units>>
395395
for formatting
396396
| `max_docs` | no | - | max number of documents an

docs/reference/ilm/using-policies-rollover.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ The rollover action takes the following parameters:
3131
.`rollover` Action Parameters
3232
|===
3333
|Name |Description
34-
|max_size |The maximum estimated size the index is allowed to grow
35-
to. Defaults to `null`. Optional.
34+
|max_size |The maximum estimated size the primary shard of the index is allowed
35+
to grow to. Defaults to `null`. Optional.
3636
|max_docs |The maximum number of document the index should
3737
contain. Defaults to `null`. Optional.
3838
|max_age |The maximum age of the index. Defaults to `null`. Optional.

docs/reference/indices/rollover-index.asciidoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@ from the original (rolled-over) index.
1818
In this scenario, the write index will have its rollover alias' `is_write_index` set to `false`, while the newly created index
1919
will now have the rollover alias pointing to it as the write index with `is_write_index` as `true`.
2020

21+
The available conditions are:
22+
23+
.`conditions` parameters
24+
|===
25+
| Name | Description
26+
| max_age | The maximum age of the index
27+
| max_docs | The maximum number of documents the index should contain. This does not add documents multiple times for replicas
28+
| max_size | The maximum estimated size of the primary shard of the index
29+
|===
2130

2231
[source,js]
2332
--------------------------------------------------

0 commit comments

Comments
 (0)