Open ermakov-oleg opened 2 years ago
@mmaslankaprv do you think this is a regression or an edge case? we handle (ie I think reject) restarting nodes with a reduced number of cores, but this issue looks like the cluster is holding onto previous state for a decommissioned node.
Version & Environment
Redpanda version: (use
rpk version
):What went wrong?
The whole cluster collapsed after returning a node to a cluster with fewer cores.
Logs on leader:
As a result, the cluster was left without a leader.
After restarting the node, the logs contain the following entries:
The leader of the cluster was never chosen ...
What should have happened instead?
Add a check for cpu count when entering a node into a cluster, or allow to change node configuration in a cluster.
How to reproduce the issue?
JIRA Link: CORE-826