Skip to content

obsolete copy_settings as of 6.4 it will no longer allow false and wi… #3416

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

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

Mpdreamz
Copy link
Member

…ll be removed on the server in 8.x and in the client in 7.x

…ll be removed on the server in 8.x and in the client in 7.x
@Mpdreamz Mpdreamz mentioned this pull request Sep 24, 2018
89 tasks
Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

@@ -35,7 +35,8 @@ public class GlobalOverrides : EndpointOverridesBase
public override IDictionary<string, string> ObsoleteQueryStringParams { get; set; } = new Dictionary<string, string>
{
{ "parent", "the parent parameter has been deprecated from elasticsearch, please use routing instead directly."},
{ "update_all_types", "Elasticsearch 6.x only allows a single type per index so this parameter is now useless"}
{ "update_all_types", "Elasticsearch 6.x only allows a single type per index so this parameter is now useless"},
{ "copy_settings", "Elasticsearch 6.4 will throw an exception if this is turned off see elastic/elasticsearch#30404"}
Copy link
Contributor

Choose a reason for hiding this comment

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

Having the link to the commit was useful to understand the behaviour. Do we want to surface it in the Obsolete message though (too much information)?

@russcam russcam merged commit 559367b into 6.4 Oct 16, 2018
@russcam russcam deleted the fix/copy-settings-obsolete branch October 18, 2018 09:46
russcam pushed a commit that referenced this pull request Oct 26, 2018
It will no longer allow false and will be removed on the server in 8.x, and in the client in 7.x 

(cherry picked from commit 559367b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants