Skip to content
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

Don't generate stacktrace in EarlyTerminationException and TimeExceededException #95910

Merged
merged 3 commits into from
May 8, 2023

Conversation

iverase
Copy link
Contributor

@iverase iverase commented May 8, 2023

Those exceptions are only created to terminate a search task and never expose to the user so there is no point to generate the stacktrace.

Inspired by apache/lucene#12270

@iverase iverase added >enhancement :Search/Search Search-related issues that do not fall into other categories v8.9.0 labels May 8, 2023
@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label May 8, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

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

left two nits, LGTM

@iverase iverase merged commit e208992 into elastic:main May 8, 2023
@iverase iverase deleted the no-stacktrace-search branch May 8, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants