Closed ahjing99 closed 12 months ago
AFAIK, to restart an OBServer, we should:
1.ALTER SYSTEM STOP SERVER
, to switch all LEADER partitions on this server to others.
ALTER SYSTEM START SERVER
to add this server back.
And for HSacle, we should join/leave an observer, we should: on leave,
ALTER SYSTEM DELETE SERVER 'ip:port' [,'ip:port'...] [ZONE [=] 'zone']
on join:
ALTER SYSTEM ADD SERVER '$IP:$PORT' ZONE '$ZONE';
:) OceanBase cluster managed by StatefulSet workload does not support restart
by now.
I'll work on it recently.
➜ ~ kbcli version Kubernetes: v1.27.3-gke.100 KubeBlocks: 0.7.0-alpha.11 kbcli: 0.7.0-alpha.11