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

Terminate refreshing job when delete index #8

Merged

Conversation

dai-chen
Copy link
Collaborator

@dai-chen dai-chen commented Jul 14, 2023

Description

Previously delete index API only deletes OpenSearch index. The streaming job of index refresh will be dangling if it's auto-refresh index. With the fix, the refreshing job will be stopped when delete index. The timeout is controlled by spark.sql.streaming.stopTimeout.

Issues Resolved

#2

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dai-chen dai-chen added the bug Something isn't working label Jul 14, 2023
@dai-chen dai-chen self-assigned this Jul 14, 2023
@dai-chen dai-chen changed the title Stop refreshing job when delete index Terminate refreshing job when delete index Jul 14, 2023
@dai-chen dai-chen marked this pull request as ready for review July 17, 2023 23:46
@penghuo penghuo merged commit 541db1b into opensearch-project:main Jul 28, 2023
@dai-chen dai-chen deleted the fix-delete-index-not-stop-refresh-job branch July 31, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants