-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Conversation
if (in.getVersion().onOrAfter(Version.V_1_4_0)) { | ||
verify = in.readBoolean(); | ||
} else { | ||
verify = false; |
There was a problem hiding this comment.
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
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? |
@@ -20,6 +20,10 @@ | |||
"timeout": { | |||
"type" : "time", | |||
"description" : "Explicit operation timeout" | |||
}, | |||
"verify": { |
There was a problem hiding this comment.
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?
af6a8b0
to
499074c
Compare
@@ -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] |
There was a problem hiding this comment.
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 ?
left only minor comments, LGTM and can go into 1.4? |
@imotov can you bring this up to date and push ? |
499074c
to
286b603
Compare
Merged into 1.4, 1.x and master. |
Adds automatic and manual verification of repository settings and access rights.
Fixes #7096