-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix recover index bug when Flint data index is deleted accidentally #241
Fix recover index bug when Flint data index is deleted accidentally #241
Conversation
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
Signed-off-by: Chen Dai <[email protected]>
@dai-chen RECOVER INDEX JOB flint_myglue_stream_lineitem_tiny_skipping_index; |
We're following Spark DDL and return empty result if success in all Flint DDL statement. |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/opensearch-spark/backport-0.1 0.1
# Navigate to the new working tree
pushd ../.worktrees/opensearch-spark/backport-0.1
# Create a new branch
git switch --create backport/backport-241-to-0.1
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 f4744abf38caeb4f22758f112a32c8881842efad
# Push it to GitHub
git push --set-upstream origin backport/backport-241-to-0.1
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/opensearch-spark/backport-0.1 Then, create a pull request where the |
…pensearch-project#241) * Clean up metadata log in recover index API Signed-off-by: Chen Dai <[email protected]> * Await termination only if there is streaming job running Signed-off-by: Chen Dai <[email protected]> * Update user manual Signed-off-by: Chen Dai <[email protected]> --------- Signed-off-by: Chen Dai <[email protected]>
… accidentally (#247) * Fix recover index bug when Flint data index is deleted accidentally (#241) * Clean up metadata log in recover index API Signed-off-by: Chen Dai <[email protected]> * Await termination only if there is streaming job running Signed-off-by: Chen Dai <[email protected]> * Update user manual Signed-off-by: Chen Dai <[email protected]> --------- Signed-off-by: Chen Dai <[email protected]> * Cherry pick vacuum index changes Signed-off-by: Chen Dai <[email protected]> --------- Signed-off-by: Chen Dai <[email protected]>
Description
To address the 2 issues related:
Documentation
Updated user manual: https://github.com/dai-chen/opensearch-spark/blob/fix-recover-index-for-index-data-deleted/docs/index.md#index-job-management
TODO
Testing
Manual test to double confirm. First of all, replicate the problematic scenario as outlined below:
Now verify the enhanced recover index API:
Issues Resolved
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.