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

Renaming downloaded snapshot makes it fail when restoring #9974

Closed
dsilvam opened this issue Oct 13, 2016 · 2 comments
Closed

Renaming downloaded snapshot makes it fail when restoring #9974

dsilvam opened this issue Oct 13, 2016 · 2 comments

Comments

@dsilvam
Copy link
Contributor

dsilvam commented Oct 13, 2016

If an snapshot is downloaded and renamed, it then fails when it is tried to restore it

Expected Behavior

Should be restored regardless of the name

Current Behavior

Unable to restore

Possible Solution

Grab the snapshot name from the extracted zip, it starts with "snapshot-".

Steps to Reproduce (for bugs)

  1. Snapshot an index (System->Maintenance->Index->Right Click on Index->Download Index Snapshot)
  2. Rename downloaded zip
  3. Deactivate then Close index
  4. Attempt to restore snapshot
@dsilvam dsilvam added this to the Rex Current milestone Oct 13, 2016
maurizo added a commit that referenced this issue Oct 17, 2016
@maurizo
Copy link
Contributor

maurizo commented Oct 17, 2016

Fixed on #9921 by 85b76c4

@maurizo maurizo removed their assignment Oct 17, 2016
@maurizo maurizo self-assigned this Oct 31, 2016
@maurizo maurizo removed their assignment Oct 31, 2016
@maurizo
Copy link
Contributor

maurizo commented Oct 31, 2016

Passed QA.
Tested on FF/Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants