Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

@DaveCTurner DaveCTurner commented Sep 29, 2023

We only ever test each instance of this predicate once, immediately
after creating it, so we may as well just convert it into a regular
method that returns boolean instead.

More preliminary work before fixing #99953

We only ever test each instance this predicate once, immediately after
creating it, so we may as well just convert it into a regular method
that returns `boolean` instead.

More preliminary work before fixing elastic#99953
@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v8.11.0 labels Sep 29, 2023
@DaveCTurner DaveCTurner added >refactoring :Data Management/ILM+SLM Index and Snapshot lifecycle management and removed needs:triage Requires assignment of a team area label labels Sep 29, 2023
@DaveCTurner
Copy link
Contributor Author

Tip for reviews: hide whitespace changes :)

@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Sep 29, 2023
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

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

LGTM

@DaveCTurner DaveCTurner added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Sep 29, 2023
@elasticsearchmachine elasticsearchmachine merged commit 567ab3a into elastic:main Sep 29, 2023
@DaveCTurner DaveCTurner deleted the 2023/09/29/getSnapshotDeletionPredicate-unnecessary branch September 29, 2023 11:09
piergm pushed a commit to piergm/elasticsearch that referenced this pull request Oct 2, 2023
…lastic#100053)

We only ever test each instance of this predicate once, immediately
after creating it, so we may as well just convert it into a regular
method that returns `boolean` instead.

More preliminary work before fixing elastic#99953
jakelandis pushed a commit to jakelandis/elasticsearch that referenced this pull request Oct 2, 2023
…lastic#100053)

We only ever test each instance of this predicate once, immediately
after creating it, so we may as well just convert it into a regular
method that returns `boolean` instead.

More preliminary work before fixing elastic#99953
@DaveCTurner DaveCTurner restored the 2023/09/29/getSnapshotDeletionPredicate-unnecessary branch June 17, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Data Management/ILM+SLM Index and Snapshot lifecycle management >refactoring Team:Data Management Meta label for data/management team v8.11.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants