Skip to content

Conversation

@tlrx
Copy link
Member

@tlrx tlrx commented Feb 1, 2023

Since we know which indices were involved in the Bulk request we can refresh only those instead of all indices.

Relates #93160

@tlrx tlrx added >bug :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v8.7.0 labels Feb 1, 2023
@elasticsearchmachine
Copy link
Collaborator

Hi @tlrx, I've created a changelog YAML for you.

@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Feb 1, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Contributor

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

LGTM

@tlrx
Copy link
Member Author

tlrx commented Feb 1, 2023

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).

Copy link
Contributor

@DaveCTurner DaveCTurner left a 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.

@tlrx tlrx merged commit 2700dc5 into elastic:main Feb 1, 2023
@tlrx tlrx deleted the refresh-workaround-indices branch February 1, 2023 16:06
@tlrx
Copy link
Member Author

tlrx commented Feb 1, 2023

Thanks David. I'll add a test in a follow up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. Team:Distributed Meta label for distributed team. v8.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants