-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Batch auto create index cluster state updates #82159
Batch auto create index cluster state updates #82159
Conversation
Pinging @elastic/es-data-management (Team:Data Management) |
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.
LGTM (but lets add a TODO as requested to make this nicer). For now this is a very nice speedup for our benchmarking.
server/src/main/java/org/elasticsearch/action/admin/indices/create/AutoCreateAction.java
Show resolved
Hide resolved
@probakowski let's only do 8.1 here IMO. No need to push this to |
Thanks @original-brownbear! That makes sense, I'll do master only |
Defer reroute on autocreate DS. Follow-up to elastic#82159.
This change adds batching for cluster state updates to auto create index action. It will do a single reroute at the end of the batch which speeds up the operation