-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Alpha Close: Wait for indexing to complete #5137
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1.
Reviewable status: complete! all files reviewed, all discussions resolved
The background reindexing starts indexing in the background but we do not wait for the indexing to complete in case of error while shutting down alpha. This PR fixes that issue by waiting for the background indexing to complete before we shutdown alpha. The issue can be easily seen by adding a long sleep in the background indexing and trying to shutdown alpha. It can be seen that Alpha doesn't wait for the indexing to complete while shutting down. Fixes #3873 (cherry picked from commit dc75424)
The background reindexing starts indexing in the background but we do not wait for the indexing to complete in case of error while shutting down alpha. This PR fixes that issue by waiting for the background indexing to complete before we shutdown alpha. The issue can be easily seen by adding a long sleep in the background indexing and trying to shutdown alpha. It can be seen that Alpha doesn't wait for the indexing to complete while shutting down. Fixes #3873 (cherry picked from commit dc75424)
The background reindexing starts indexing in the background but we do not wait for the indexing to complete in case of error while shutting down alpha. This PR fixes that issue by waiting for the background indexing to complete before we shutdown alpha. The issue can be easily seen by adding a long sleep in the background indexing and trying to shutdown alpha. It can be seen that Alpha doesn't wait for the indexing to complete while shutting down. Fixes hypermodeinc#3873
Description.
The background reindexing starts indexing in the background but we do not wait for the indexing to complete while shutting down alpha. This PR fixes that issue by waiting for the background indexing to complete before we shutdown alpha.
The issue can be easily seen by adding a long sleep in the background indexing and trying to shutdown alpha. It can be seen that Alpha doesn't wait for the indexing to complete while shutting down.
GitHub Issue or Jira number.
Partially fixes #3873
See also #3873 (comment)
Affected releases.
v20.03
Changelog tags.
N/A
Please indicate if this is a breaking change.
No
Please indicate if this is an enterprise feature.
No
Please indicate if documentation needs to be updated.
No
Please indicate if end to end testing is needed.
No
This change is