starrocks-kubernetes-operator icon indicating copy to clipboard operation
starrocks-kubernetes-operator copied to clipboard

[Bug] Operator should DECOMMISSION BE when Scale-in the cluster

Open dengliu opened this issue 1 year ago • 1 comments

Currently, operator just simply shutdown BE node when updating the replica number of BE. This will cause data loss. It should be changed to use DECOMMISSION to scale-in the cluse. As DECOMMISSION is an async operation, operator must monitor its status until it is completed before proceeding with the lower-level Kubernetes statefulset scale-in.

cc @kevincai @shileifu @imay

dengliu avatar Mar 01 '23 04:03 dengliu

We second that! Currently we always have to do manual decommission before we reduce the replica in the statefulset

milletnis avatar Jan 23 '24 10:01 milletnis