-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Update ilm-rollover.asciidoc #125507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 8.17
Are you sure you want to change the base?
Update ilm-rollover.asciidoc #125507
Conversation
With max_primary_shard_size: 50gb, the size "at most 50gb" not "at least" as indicated in the docs.
Documentation preview: |
@berto-lstc please enable the option "Allow edits and access to secrets by maintainers" on your PR. For more information, see the documentation. |
Hmmm... I'm not sure I agree with this change in wording -- can you elaborate? |
sure @joegallo , max_primary_shard_size setting is the maximum size the primary shard can reach, in the documentation it says "at least" which I understand as the minimum size. "rollover" : {
"max_primary_shard_size": "50gb",
"max_age": "30d",
"min_primary_shard_size": "1gb"
} The primary shard size is at least 1gb, thus >1GB, and the primary shard size max is 50GB., then primary_shard_size will be 50gb at most, not "at least" as it's written now. Perhaps I'm missing something. |
Pinging @elastic/es-docs (Team:Docs) |
No, I still think "at least" is the correct wording. The rollover code will not roll over the index until the primary size is equal to or greater than the configured size. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm marking a red X on this because I don't want somebody else to come along and add a green check without first convincing me.
All The policy can be restated like this:
Let's apply a round of simplification, and remove the duplicated size requirements in the first half, since the only way a primary shard will be at least 50gb is if it is also at least 1gb:
Or, dropping the extra formatting, we have the wording from the doc in question itself, which is:
|
With max_primary_shard_size: 50gb, the size "at most 50gb" not "at least" as indicated in the docs.
gradle check
?