Skip to content

add support for resetting dynamic cluster settings#7704

Closed
seut wants to merge 1 commit intoelastic:masterfrom
crate:s/reset-dynamic-settings
Closed

add support for resetting dynamic cluster settings#7704
seut wants to merge 1 commit intoelastic:masterfrom
crate:s/reset-dynamic-settings

Conversation

@seut
Copy link
Copy Markdown
Contributor

@seut seut commented Sep 12, 2014

This PR implements support for resetting transient & persistent cluster settings to, either the configuration file value defined at node startup, or if it does not existed, the default value.

Resetting settings is done using the normal cluster update settings API, by just assigning a JSON null to the setting one want to reset. See update-settings.asciidoc for details.

There are maybe other/smarter ways to do that, but I think this is just straight-forward and it works ;)
This is related to #6732, but does only apply to cluster settings not custom analyzer.

@seut seut changed the title add support for resetting transient + persistent cluster settings add support for resetting dynamic cluster settings Sep 12, 2014
@clintongormley
Copy link
Copy Markdown
Contributor

Hi @seut

Thanks for the PR. We'll take a look and get back to you

@seut
Copy link
Copy Markdown
Contributor Author

seut commented Nov 12, 2014

any news on this? Of course I would rebase the master if there is any chance that this PR will be accepted..

@javanna javanna self-assigned this Nov 12, 2014
@seut
Copy link
Copy Markdown
Contributor Author

seut commented Nov 20, 2014

just rebased the current master and updated the commit to respect new implemented settings.

@clintongormley
Copy link
Copy Markdown
Contributor

@s1monw what do you think about this?

@seut
Copy link
Copy Markdown
Contributor Author

seut commented Jan 12, 2015

any updates on this?

@clintongormley
Copy link
Copy Markdown
Contributor

Hi @seut

Sorry for the delay - it's tricky finding time to review big PRs. We haven't forgotten about it. Also need to make sure it plays nicely with the changes planned in #6732

@seut
Copy link
Copy Markdown
Contributor Author

seut commented Jan 14, 2015

@clintongormley I understand. Will save my time with rebasing the current master until you'll accept the general logic of this code. Or otherwise, please poke me to rebase it.

@clintongormley
Copy link
Copy Markdown
Contributor

thanks @seut

@s1monw
Copy link
Copy Markdown
Contributor

s1monw commented Dec 7, 2015

FYI - I opened #15278 which basically supersedes this PR. @seut if you don't mind I will take some REST tests from you and steal some ideas? :)

@seut
Copy link
Copy Markdown
Contributor Author

seut commented Dec 9, 2015

@s1monw sure take what you need ;)

@s1monw
Copy link
Copy Markdown
Contributor

s1monw commented Dec 18, 2015

closing since #15278 is merged

@s1monw s1monw closed this Dec 18, 2015
@seut seut deleted the s/reset-dynamic-settings branch September 11, 2018 15:13
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.

4 participants