Skip to content

Conversation

@nielsbauman
Copy link
Contributor

This change only makes the predicate inside BranchingStep project-aware, to limit the scope of PRs.

A follow-up PR will target ClusterStateActionStep and all its descendants (including BranchingStep).

This change only makes the predicate inside `BranchingStep`
project-aware, to limit the scope of PRs.

A follow-up PR will target `ClusterStateActionStep` and all its
descendants (including `BranchingStep`).
@nielsbauman nielsbauman added >non-issue :Data Management/ILM+SLM Index and Snapshot lifecycle management Team:Data Management Meta label for data/management team v9.1.0 labels May 7, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@nielsbauman nielsbauman requested a review from samxbr May 7, 2025 10:58
Copy link
Member

@PeteGillinElastic PeteGillinElastic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

return clusterState;
}
predicateValue.set(predicate.test(index, clusterState));
predicateValue.set(predicate.test(index, clusterState.metadata().getProject()));
Copy link
Member

Choose a reason for hiding this comment

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

I assume that replacing the call to Metadata.getProject() will be part of the later PR you mentioned which does the level up?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, that's exactly right. I didn't add a @FixForMultiProject because the use of the deprecated getProject() method is automatically "tracked" anyway.

@nielsbauman nielsbauman enabled auto-merge (squash) May 11, 2025 07:14
@nielsbauman nielsbauman merged commit dc90751 into elastic:main May 11, 2025
16 of 17 checks passed
@nielsbauman nielsbauman deleted the ilm-branching-step-mp branch May 11, 2025 08:22
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request May 12, 2025
This change only makes the predicate inside `BranchingStep`
project-aware, to limit the scope of PRs.

A follow-up PR will target `ClusterStateActionStep` and all its
descendants (including `BranchingStep`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/ILM+SLM Index and Snapshot lifecycle management >non-issue 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