Skip to content

Allow to elect leader with OperationError state #197

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

Conversation

d-enk
Copy link
Contributor

@d-enk d-enk commented Jul 14, 2023

OperationError is also a valid state to call config_patch_clusterwide (edit_topology/apply_config)

@kluevandrew
Copy link
Contributor

OperationError is also a valid state to call config_patch_clusterwide (edit_topology/apply_config)

In which case it happening?

@d-enk
Copy link
Contributor Author

d-enk commented Jul 17, 2023

In which case it happening?

For example, after a typo in the config that led to OperationError state - re-applying the corrected config will not work

@d-enk
Copy link
Contributor Author

d-enk commented Jul 17, 2023

OperationError is also a valid state to call config_patch_clusterwide (edit_topology/apply_config)

https://github.com/tarantool/cartridge/blob/2.8.0/cartridge/twophase.lua#L155

@kluevandrew kluevandrew merged commit f10e1d2 into tarantool:master Jul 18, 2023
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