Skip to content

Restore process can restore incompatible minimum_master_nodes setting #8830

@grantr

Description

@grantr

If I have 3 masters and accidentally set minimum_master_nodes to 4 dynamically, the cluster will stop. While the cluster is stopped, there's no way to update settings, so I have to do a full restart.

If I updated a persistent setting, then not even a full restart will fix the issue. I have to manually edit cluster state.

You could get out of this situation by adding master nodes until the new minimum is reached, but that's not a complete solution because I might have fat fingered minimum_master_nodes to 100 or something like that.

I think it'd be worth adding some validation to ensure that an update to minimum_master_nodes won't accidentally put the cluster in an unrecoverable state.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions