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

Add repository validation #7680

Closed

Conversation

imotov
Copy link
Contributor

@imotov imotov commented Sep 11, 2014

Adds automatic and manual verification of repository settings and access rights.

Fixes #7096

@clintongormley clintongormley changed the title [SNAPSHOT] Add repository validation Snapshot/Restore: Add repository validation Sep 11, 2014
if (in.getVersion().onOrAfter(Version.V_1_4_0)) {
verify = in.readBoolean();
} else {
verify = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm this is different from the default? maybe you can put a comment here why if its' not a bug

@s1monw
Copy link
Contributor

s1monw commented Sep 11, 2014

I did a review, one more thing, can we call this API in the BWC tests too just to make sure we didn't break anything?

@s1monw s1monw removed the review label Sep 11, 2014
@@ -20,6 +20,10 @@
"timeout": {
"type" : "time",
"description" : "Explicit operation timeout"
},
"verify": {
Copy link
Member

Choose a reason for hiding this comment

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

Wondering if we should also document this new option in create repository doc?

@imotov imotov force-pushed the issue-7096-repository-validation branch 2 times, most recently from af6a8b0 to 499074c Compare September 23, 2014 10:17
@imotov imotov added the review label Sep 23, 2014
@@ -92,6 +92,21 @@ Other repository backends are available in these official plugins:
* https://github.com/elasticsearch/elasticsearch-hadoop/tree/master/repository-hdfs[HDFS Plugin] for Hadoop environments
* https://github.com/elasticsearch/elasticsearch-cloud-azure#azure-repository[Azure Cloud Plugin] for Azure storage repositories


===== Repository Verification
added[1.4.0]
Copy link
Contributor

Choose a reason for hiding this comment

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

seems like this goes to 1.5 only ?

@s1monw
Copy link
Contributor

s1monw commented Oct 2, 2014

left only minor comments, LGTM and can go into 1.4?

@s1monw s1monw added v1.4.0 and removed v1.5.0 labels Oct 6, 2014
@s1monw
Copy link
Contributor

s1monw commented Oct 7, 2014

@imotov can you bring this up to date and push ?

@s1monw s1monw removed the review label Oct 7, 2014
@imotov imotov force-pushed the issue-7096-repository-validation branch from 499074c to 286b603 Compare October 7, 2014 14:49
@imotov
Copy link
Contributor Author

imotov commented Oct 8, 2014

Merged into 1.4, 1.x and master.

@imotov imotov closed this Oct 8, 2014
@clintongormley clintongormley added the :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs label Jun 7, 2015
@clintongormley clintongormley changed the title Snapshot/Restore: Add repository validation Add repository validation Jun 7, 2015
@imotov imotov deleted the issue-7096-repository-validation branch May 1, 2020 22:24
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.

Validate repository settings
4 participants