Skip to content
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

Remove automatically deleting indices for orphaned jobs #2038

Merged
merged 3 commits into from
Jan 9, 2024

Conversation

sphilipse
Copy link
Member

@sphilipse sphilipse commented Jan 9, 2024

relates to: https://github.com/elastic/enterprise-search-team/issues/6075

This removes deleting indices for orphaned jobs, as we may be inadvertently deleting indices that should be kept in some edge cases.

Release note

On some edge cases where Elasticsearch is facing issues we may be inadvertently deleting content indices, because we incorrectly think the index has been deleted. This change removes the step where we delete indices.

@sphilipse sphilipse added bug Something isn't working auto-backport v8.12.0 labels Jan 9, 2024
@sphilipse sphilipse requested a review from a team January 9, 2024 17:02
Copy link
Member

@seanstory seanstory left a comment

Choose a reason for hiding this comment

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

Can you add backport versions and the release_note label + description section?

@sphilipse sphilipse merged commit 2ecbfed into main Jan 9, 2024
3 checks passed
@sphilipse sphilipse deleted the sphilipse/remove-deleting-indices-job-cleanup branch January 9, 2024 17:27
Copy link

github-actions bot commented Jan 9, 2024

💔 Failed to create backport PR(s)

Status Branch Result
8.12 Commit could not be cherrypicked due to conflicts
8.10 Commit could not be cherrypicked due to conflicts
8.11 Commit could not be cherrypicked due to conflicts

To backport manually run:
backport --pr 2038 --autoMerge --autoMergeMethod squash

seanstory pushed a commit that referenced this pull request Jan 9, 2024
(cherry picked from commit 2ecbfed)

# Conflicts:
#	connectors/services/job_cleanup.py
#	tests/services/test_job_cleanup.py
seanstory pushed a commit that referenced this pull request Jan 9, 2024
(cherry picked from commit 2ecbfed)

# Conflicts:
#	connectors/services/job_cleanup.py
#	tests/services/test_job_cleanup.py
seanstory pushed a commit that referenced this pull request Jan 9, 2024
(cherry picked from commit 2ecbfed)

# Conflicts:
#	connectors/services/job_cleanup.py
#	tests/services/test_job_cleanup.py
@seanstory
Copy link
Member

💚 All backports created successfully

Status Branch Result
8.12
8.11
8.10

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

seanstory added a commit that referenced this pull request Jan 9, 2024
seanstory added a commit that referenced this pull request Jan 11, 2024
seanstory added a commit that referenced this pull request Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants