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

Remove legacy validation of search source in data nodes #113081

Merged

Conversation

javanna
Copy link
Member

@javanna javanna commented Sep 18, 2024

We moved the validation of incoming search requests to data nodes with #105150. The legacy validation performed on the data nodes was left around for bw comp reasons, as there could still be coordinating nodes in the cluster not performing that validation. This is no longer the case in main. This commit removes the validation in favour of validation already performed while coordinating the search request.

Relates to #105150

We moved the validation of incoming search requests to data nodes with elastic#105150.
The legacy validation performed on the data nodes was left around for bw comp
reasons, as there could still be coordinating nodes in the cluster not performing
that validation. This is no longer the case in main. This commit removes the
validation in favour of validation already performed while coordinating the
search request.

Relates to elastic#105150
@javanna javanna added >refactoring :Search Foundations/Search Catch all for Search Foundations v9.0.0 labels Sep 18, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Sep 18, 2024
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Contributor

@andreidan andreidan left a comment

Choose a reason for hiding this comment

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

A PR that only removes code. My favourite !

Thanks for removing this Luca ! 🚀

@javanna javanna merged commit 73c40b9 into elastic:main Sep 18, 2024
15 checks passed
@javanna javanna deleted the refactoring/search_source_validation_data_nodes branch September 18, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>refactoring :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants