Skip to content

Run TransportGetLifecycleAction on local node - #126002

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

nielsbauman merged 4 commits into
elastic:mainfrom
nielsbauman:local-get-ilm-policy

Conversation

@nielsbauman

Copy link
Copy Markdown
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
Copy Markdown
Collaborator

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

@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

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

@dakrone dakrone left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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
Copy Markdown
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
@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants