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

Snapshot/Restore: Add ability to restore partial snapshots #6368

Merged
merged 1 commit into from Jul 1, 2014

Conversation

imotov
Copy link
Contributor

@imotov imotov commented Jun 1, 2014

Closes #5742

@imotov imotov added the review label Jun 1, 2014
@@ -82,6 +82,7 @@ protected void masterOperation(final RestoreSnapshotRequest request, ClusterStat
.renamePattern(request.renamePattern())
.renameReplacement(request.renameReplacement())
.includeGlobalState(request.includeGlobalState())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one becomes too dangerous IMO. It's the only place we use this class and we risk to miss passing on a parameter. IMO we should remove all the setters and make this a struct like immutalbe class taking all the values here as ctor args. The information what they are is already there via the getter and the compiler should tell us if we have to pass on any further information!

@s1monw
Copy link
Contributor

s1monw commented Jun 12, 2014

added some comments... seems close

@s1monw s1monw removed the review label Jun 12, 2014
@imotov
Copy link
Contributor Author

imotov commented Jun 12, 2014

@s1monw - makes sense. Thanks! Fixed.

@s1monw s1monw added the review label Jun 27, 2014
@s1monw
Copy link
Contributor

s1monw commented Jun 27, 2014

LGTM

@imotov imotov merged commit 1425e28 into elastic:master Jul 1, 2014
@jpountz jpountz removed the review label Jul 16, 2014
@clintongormley clintongormley changed the title Add ability to restore partial snapshots Snapshot/Restore: Add ability to restore partial snapshots Sep 8, 2014
@clintongormley clintongormley added v2.0.0-beta1 :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs labels Jun 7, 2015
@imotov imotov deleted the issue-5742-partial-restore branch May 1, 2020 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement v1.4.0.Beta1 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snapshot/Restore: Add ability to restore partial snapshots
4 participants