-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
Do not refresh all indices in TransportBulkAction #93417
Conversation
Hi @tlrx, I've created a changelog YAML for you. |
Pinging @elastic/es-distributed (Team:Distributed) |
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
Thanks David. Actually I think the refresh should also use indices options that expands to lenient open and hidden indices (otherwise hidden indices are not refreshed). |
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.
LBTM (good -> better 😁 )
Do we have test coverage for this? We should add some if not.
Thanks David. I'll add a test in a follow up. |
Since we know which indices were involved in the Bulk request we can refresh only those instead of all indices.
Relates #93160