Skip to content

[Enhancement] disable FE scale to 1 #394

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

yandongxiao
Copy link
Collaborator

@yandongxiao yandongxiao commented Jan 11, 2024

If scale to 1, Operator will report an error.

k get starrocksclusters.starrocks.com kube-starrocks
NAME             PHASE    FESTATUS   BESTATUS   CNSTATUS   FEPROXYSTATUS
kube-starrocks   failed   running               running

k get starrocksclusters.starrocks.com kube-starrocks -oyaml | grep reason
reason: 'error from FE controller: the replicas of statefulset kube-starrocks-fe can not be scaled to 1'

@yandongxiao yandongxiao force-pushed the enhancement/disable-fe-scale-to-1 branch from 8fa04e5 to 92f7136 Compare January 16, 2024 03:03
@yandongxiao yandongxiao merged commit 50b2241 into StarRocks:main Jan 16, 2024
@yandongxiao yandongxiao added v1.9.1 enhancement New feature or request labels Jan 19, 2024
@brucejrc
Copy link

fe number set from five to two, fe will run no leader?

@yandongxiao
Copy link
Collaborator Author

StarRocks uses BDBJE to select leader for FE, and I did not test this case.
I think you'd better to scale FE one by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v1.9.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants