Skip to content

[ML] Fix timeout bug in DBQ deletion of unused and orphan ML data #130083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 26, 2025

Conversation

valeriy42
Copy link
Contributor

There was a bug in the code for deleting unused and orphan ML data. When deletion using DBQ occurred, the bug caused the request to time out. This PR resolves the issue.

@valeriy42 valeriy42 added >bug :ml Machine learning Team:ML Meta label for the ML team v9.1.0 v9.0.4 labels Jun 26, 2025
@valeriy42 valeriy42 self-assigned this Jun 26, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@elasticsearchmachine
Copy link
Collaborator

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

@valeriy42 valeriy42 requested a review from davidkyle June 26, 2025 09:23
Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

Status Branch Result
8.19
9.0
8.18
9.2 The branch "9.2" is invalid or doesn't exist

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 130083

valeriy42 added a commit to valeriy42/elasticsearch that referenced this pull request Jun 26, 2025
…astic#130083)

There was a bug in the code for deleting unused and orphan ML data. When deletion using DBQ occurred, the bug caused the request to time out. This PR resolves the issue.
valeriy42 added a commit to valeriy42/elasticsearch that referenced this pull request Jun 26, 2025
…astic#130083)

There was a bug in the code for deleting unused and orphan ML data. When deletion using DBQ occurred, the bug caused the request to time out. This PR resolves the issue.
valeriy42 added a commit to valeriy42/elasticsearch that referenced this pull request Jun 26, 2025
…astic#130083)

There was a bug in the code for deleting unused and orphan ML data. When deletion using DBQ occurred, the bug caused the request to time out. This PR resolves the issue.
elasticsearchmachine pushed a commit that referenced this pull request Jun 26, 2025
…30083) (#130101)

There was a bug in the code for deleting unused and orphan ML data. When deletion using DBQ occurred, the bug caused the request to time out. This PR resolves the issue.
elasticsearchmachine pushed a commit that referenced this pull request Jun 26, 2025
…30083) (#130102)

There was a bug in the code for deleting unused and orphan ML data. When deletion using DBQ occurred, the bug caused the request to time out. This PR resolves the issue.
@valeriy42 valeriy42 deleted the bug/datafeed-removal-timeout branch June 26, 2025 12:33
elasticsearchmachine pushed a commit that referenced this pull request Jun 26, 2025
…30083) (#130103)

There was a bug in the code for deleting unused and orphan ML data. When deletion using DBQ occurred, the bug caused the request to time out. This PR resolves the issue.
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 3, 2025
…astic#130083)

There was a bug in the code for deleting unused and orphan ML data. When deletion using DBQ occurred, the bug caused the request to time out. This PR resolves the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged backport pending >bug :ml Machine learning Team:ML Meta label for the ML team v8.18.4 v8.19.0 v9.0.4 v9.1.0 v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants