Skip to content

Conversation

@nielsbauman
Copy link
Contributor

This action solely needs the cluster state, it can run on any node. Additionally, it needs to be cancellable to avoid doing unnecessary work after a client failure or timeout.

Relates #101805

This action solely needs the cluster state, it can run on any node.
Additionally, it needs to be cancellable to avoid doing unnecessary work
after a client failure or timeout.
@nielsbauman nielsbauman added >enhancement :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team v9.0.0 labels Jan 30, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

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

@dakrone
Copy link
Member

dakrone commented Jan 30, 2025

Is this missing a call to .ensureNotCancelled(); somewhere?

@nielsbauman
Copy link
Contributor Author

@dakrone Good catch! Added in 62c4de2

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

@nielsbauman nielsbauman merged commit e27a50d into elastic:main Feb 3, 2025
17 checks passed
@nielsbauman nielsbauman deleted the local-enrich-stats branch February 3, 2025 23:30
fzowl pushed a commit to voyage-ai/elasticsearch that referenced this pull request Feb 4, 2025
This action solely needs the cluster state, it can run on any node.
Additionally, it needs to be cancellable to avoid doing unnecessary work
after a client failure or timeout.
nielsbauman added a commit to nielsbauman/elasticsearch that referenced this pull request Feb 5, 2025
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 added a commit that referenced this pull request Feb 6, 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.
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 >enhancement Team:Data Management Meta label for data/management team v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants