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 missing cluster blocks handling for master operations #7763

Merged
merged 1 commit into from Sep 17, 2014

Conversation

kimchy
Copy link
Member

@kimchy kimchy commented Sep 17, 2014

Master node related operations were missing proper handling of cluster blocks, allowing for example to perform cluster level update settings even before the state was fully restored on initial cluster startup

Note, the change allows to change read only related settings without checking for blocks on update settings, as without it, it means one can't re-enable metadata/write. Also, it doesn't check for blocks on cluster state and health API, as those are allowed to be used even when blocked to figure out what causes the block.

Closes #7740

Master node related operations were missing proper handling of cluster blocks, allowing for example to perform cluster level update settings even before the state was fully restored on initial cluster startup

Note, the change allows to change read only related settings without checking for blocks on update settings, as without it, it means one can't re-enable metadata/write. Also, it doesn't check for blocks on cluster state and health API, as those are allowed to be used even when blocked to figure out what causes the block.
closes elastic#7763
closes elastic#7740
@s1monw
Copy link
Contributor

s1monw commented Sep 17, 2014

LGTM ran test a couple of times no failure thanks shay!

@kimchy kimchy merged commit b75d1d8 into elastic:master Sep 17, 2014
kimchy added a commit that referenced this pull request Sep 17, 2014
Master node related operations were missing proper handling of cluster blocks, allowing for example to perform cluster level update settings even before the state was fully restored on initial cluster startup

Note, the change allows to change read only related settings without checking for blocks on update settings, as without it, it means one can't re-enable metadata/write. Also, it doesn't check for blocks on cluster state and health API, as those are allowed to be used even when blocked to figure out what causes the block.
closes #7763
closes #7740
kimchy added a commit that referenced this pull request Sep 17, 2014
Master node related operations were missing proper handling of cluster blocks, allowing for example to perform cluster level update settings even before the state was fully restored on initial cluster startup

Note, the change allows to change read only related settings without checking for blocks on update settings, as without it, it means one can't re-enable metadata/write. Also, it doesn't check for blocks on cluster state and health API, as those are allowed to be used even when blocked to figure out what causes the block.
closes #7763
closes #7740
@kimchy kimchy deleted the master_operation_blocks branch September 17, 2014 09:55
@clintongormley clintongormley changed the title Add missing cluster blocks handling for master operations Internal: Add missing cluster blocks handling for master operations Sep 26, 2014
@jpountz jpountz removed the review label Oct 21, 2014
@clintongormley clintongormley added :Core/Infra/Core Core issues without another label and removed >bug labels Mar 19, 2015
@clintongormley clintongormley added :Cluster and removed :Core/Infra/Core Core issues without another label labels Jun 6, 2015
@clintongormley clintongormley changed the title Internal: Add missing cluster blocks handling for master operations Add missing cluster blocks handling for master operations Jun 6, 2015
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
Master node related operations were missing proper handling of cluster blocks, allowing for example to perform cluster level update settings even before the state was fully restored on initial cluster startup

Note, the change allows to change read only related settings without checking for blocks on update settings, as without it, it means one can't re-enable metadata/write. Also, it doesn't check for blocks on cluster state and health API, as those are allowed to be used even when blocked to figure out what causes the block.
closes elastic#7763
closes elastic#7740
@clintongormley clintongormley added :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. and removed :Cluster labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. >enhancement v1.4.0.Beta1 v1.5.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Internal: Make TransportMasterNodeOperationAction#checkBlock abstract
4 participants