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

bug-fix: Restore snapshot shouldn't restore index alias always #1193

Merged

Conversation

skumawat2025
Copy link
Contributor

@skumawat2025 skumawat2025 commented Oct 27, 2024

Description

Previously restoring a snapshot always tries to restore index alias even if the restore alias is unchecked from the dashboard.
This bug is now being fixed with this PR as we set the checkbox for restore alias as false default option and add a toggle check when users chooses to select alias restore option.

Issues Resolved

Check List

  • Commits are signed per the DCO using --signoff

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.

@skumawat2025 skumawat2025 force-pushed the snapshot-restore-alias-bug branch from 29a6671 to 625404e Compare November 5, 2024 05:22
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.96%. Comparing base (a53ff41) to head (625404e).
Report is 27 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1193      +/-   ##
==========================================
- Coverage   61.61%   60.96%   -0.66%     
==========================================
  Files         345      347       +2     
  Lines       12449    12834     +385     
  Branches     2509     2589      +80     
==========================================
+ Hits         7671     7824     +153     
- Misses       4075     4271     +196     
- Partials      703      739      +36     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SuZhou-Joe SuZhou-Joe merged commit 2d7c80b into opensearch-project:main Nov 5, 2024
13 of 14 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 5, 2024
Signed-off-by: Sandeep Kumawat <[email protected]>
Co-authored-by: Sandeep Kumawat <[email protected]>
(cherry picked from commit 2d7c80b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
skumawat2025 pushed a commit to skumawat2025/index-management-dashboards-plugin that referenced this pull request Dec 16, 2024
…earch-project#1193)

Signed-off-by: Sandeep Kumawat <[email protected]>
Co-authored-by: Sandeep Kumawat <[email protected]>
(cherry picked from commit 2d7c80b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Sandeep Kumawat <[email protected]>
RamakrishnaChilaka added a commit that referenced this pull request Dec 16, 2024
#1206)

(cherry picked from commit 2d7c80b)

Signed-off-by: Sandeep Kumawat <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sandeep Kumawat <[email protected]>
Co-authored-by: Ramakrishna Chilaka <[email protected]>
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