Skip to content

Inline SnapshotRetentionConfiguration#getSnapshotDeletionPredicate#100053

Merged
elasticsearchmachine merged 1 commit intoelastic:mainfrom
DaveCTurner:2023/09/29/getSnapshotDeletionPredicate-unnecessary
Sep 29, 2023
Merged

Inline SnapshotRetentionConfiguration#getSnapshotDeletionPredicate#100053
elasticsearchmachine merged 1 commit intoelastic:mainfrom
DaveCTurner:2023/09/29/getSnapshotDeletionPredicate-unnecessary

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

@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 DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. and removed needs:triage Requires assignment of a team area label labels Sep 29, 2023
@DaveCTurner
Copy link
Copy Markdown
Member Author

Tip for reviews: hide whitespace changes :)

@elasticsearchmachine elasticsearchmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Sep 29, 2023
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
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 DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. >refactoring Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v8.11.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants