Describe the bug
When stopping a component that originally had 0 replicas (e.g., dmmonitor in standalone mode), it enters an unrecoverable status. If it is subsequently started:
- The snapshot annotation apps.kubeblocks.io/stop-replicas-snapshot is never removed from etcd.
- Desired replica modifications (e.g., scaling from 0 to 1) are discarded.
- The component remains permanently stuck in the Starting phase, and the parent Cluster remains permanently stuck in Updating.
To Reproduce
Steps to reproduce the behavior:
- Deploy a cluster that contain 0-replica component
- Stop the cluster
- Start the cluster
Expected behavior
The 0-replica component can clear its stop-snapshot and can be furtuer used.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug
When stopping a component that originally had 0 replicas (e.g.,
dmmonitorin standalone mode), it enters an unrecoverable status. If it is subsequently started:To Reproduce
Steps to reproduce the behavior:
Expected behavior
The 0-replica component can clear its stop-snapshot and can be furtuer used.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.