Skip to content

Conversation

@joegallo
Copy link
Contributor

Related to #63026

This PR ignores ILM and any deprecation that we might end up doing. It's just adding a new feature, the ability to specify max_single_primary_size as a condition for the _rollover API.

Note: I still have some docs and test changes to get in, but this is probably 90% done and would be okay to review.

It had no non-test callers, so YAGNI.
to separate the building of a Conditition.Stats cleanly from the
evaluation of same.
Reorder things to be age, docs, size more consistently, and a few
'this way, not that way' changes.
@joegallo joegallo added the :Data Management/Indices APIs APIs to create and manage indices and templates label Jan 21, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Jan 21, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@dakrone dakrone self-requested a review January 21, 2021 20:20
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left some minor comments, but this looks great!

@joegallo joegallo requested a review from dakrone February 2, 2021 19:08
@mark-vieira

This comment has been minimized.

@joegallo joegallo force-pushed the rollover-max-single-shard-size branch from 56c4b2a to 70ed3e1 Compare February 3, 2021 01:22
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for iterating on this!

@joegallo
Copy link
Contributor Author

joegallo commented Feb 3, 2021

Thanks for iterating with me!

@joegallo joegallo merged commit 4d18334 into elastic:master Feb 3, 2021
@joegallo joegallo deleted the rollover-max-single-shard-size branch February 3, 2021 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Indices APIs APIs to create and manage indices and templates >enhancement Team:Data Management Meta label for data/management team v7.12.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants