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

Fix transport serialization of EnrichStatsAction.Request #121735

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

nielsbauman
Copy link
Contributor

@nielsbauman nielsbauman commented Feb 5, 2025

In #121256, we changed the superclass of the request to LocalClusterStateRequest to make the action run on the local node instead of the master node. Most of the actions that have been updated thusfar to run on the local node used to extend MasterNodeReadRequest and thus serialized a local field. This request class, however, extended MasterNodeRequest, meaning that it didn't serialize that field.

Fixes #121642

In elastic#121256, we changed the superclass of the request to
`LocalClusterStateRequest` to make the action run on the local node
instead of the master node. Most of the actions that have been updated
thusfar to run on the local node used to extend `MasterNodeReadRequest`
and thus serialized a `local` field. This request class, however,
extended `MasterNodeRequest`, meaning that it didn't serialize that
field.
@nielsbauman nielsbauman added >non-issue :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v9.1.0 labels Feb 5, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@nielsbauman
Copy link
Contributor Author

I'm having trouble running the failing test to prove that my changes actually fixed the issue. While I try to get the test to run locally, this PR can already be reviewed.

Also, putting >non-issue instead of >bug because the bug hasn't been released yet (yay 🎉).

@nielsbauman nielsbauman requested a review from dakrone February 5, 2025 06:50
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM, I left one question about the javadoc

@nielsbauman nielsbauman enabled auto-merge (squash) February 6, 2025 00:10
@nielsbauman nielsbauman merged commit fa3d548 into elastic:main Feb 6, 2025
17 checks passed
@nielsbauman nielsbauman deleted the fix-enrich-stats branch February 6, 2025 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >non-issue Team:Data Management Meta label for data/management team v9.1.0
Projects
None yet
3 participants