Skip to content

Run TransportGetLifecycleAction on local node#126002

Merged
nielsbauman merged 4 commits intoelastic:mainfrom
nielsbauman:local-get-ilm-policy
Apr 2, 2025
Merged

Run TransportGetLifecycleAction on local node#126002
nielsbauman merged 4 commits intoelastic:mainfrom
nielsbauman:local-get-ilm-policy

Conversation

@nielsbauman
Copy link
Contributor

This action solely needs the cluster state, it can run on any node.

Relates #101805

This action solely needs the cluster state, it can run on any node.

Relates elastic#101805
@nielsbauman nielsbauman added >enhancement :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v9.1.0 labels Mar 31, 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.

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 comment

getAckTimeout(restRequest),
lifecycleNames
);
GetLifecycleAction.Request getLifecycleRequest = new GetLifecycleAction.Request(getMasterNodeTimeout(restRequest), lifecycleNames);
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be using getAckTimeout(restRequest) instead of the "master" variant, since it no longer goes through the master node?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The master timeout is still relevant as we use that when we're waiting for any cluster blocks to be removed. The ack timeout was never used in this request as it was a simple GET request.

@elasticsearchmachine elasticsearchmachine added the serverless-linked Added by automation, don't add manually label Apr 2, 2025
@nielsbauman nielsbauman enabled auto-merge (squash) April 2, 2025 13:11
@nielsbauman nielsbauman merged commit 509a120 into elastic:main Apr 2, 2025
17 checks passed
@nielsbauman nielsbauman deleted the local-get-ilm-policy branch April 2, 2025 15:35
andreidan pushed a commit to andreidan/elasticsearch that referenced this pull request Apr 9, 2025
This action solely needs the cluster state, it can run on any node.

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

Labels

:Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. >enhancement serverless-linked Added by automation, don't add manually Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v9.1.0

3 participants