-
Notifications
You must be signed in to change notification settings - Fork 45
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
通过doris-operator进行修改fe 或者be replicas的数量 只能增加 不能减少 减少无效 这个是正常的吗? #205
Comments
我的配置如下 修改replicas只能往上加 减少是没有任何变化的 减少操作的时候doris-operator的容器里面还会报错误 错误信息 I0723 01:53:31.123341 1 client.go:38] CreateOrUpdateService service Name, Ports, Selector, ServiceType, Labels have not change namespace doris name doris-cluste-fe-internal I0723 01:53:31.123489 1 client.go:38] CreateOrUpdateService service Name, Ports, Selector, ServiceType, Labels have not change namespace doris name doris-cluste-fe-service I0723 01:53:31.124050 1 client.go:302] UpdateDorisClusterPhase will not change cluster fe Phase, it is already scaling ,DCR name: doris-cluste, namespace: doris, E0723 01:53:31.212852 1 runtime.go:79] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference) goroutine 561 [running]: k8s.io/apimachinery/pkg/util/runtime.logPanic({0x187e140?, 0x29e12a0})
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1()
panic({0x187e140, 0x29e12a0})
github.com/selectdb/doris-operator/pkg/controller/sub_controller/fe.(*Controller).dropObserverFromSqlClient(0x1abdbbc?, {0x1d4a2d8, 0xc00315b8f0}, {0x1d53470, 0xc0006202a0}, 0xc0031f3a20)
github.com/selectdb/doris-operator/pkg/controller/sub_controller/fe.(*Controller).prepareStatefulsetApply(0xc000330e00, {0x1d4a2d8, 0xc00315b8f0}, 0xc0031f3a20)
github.com/selectdb/doris-operator/pkg/controller/sub_controller/fe.(*Controller).Sync(0xc000330e00, {0x1d4a2d8, 0xc00315b8f0}, 0xc0031f3a20)
github.com/selectdb/doris-operator/pkg/controller.(*DorisClusterReconciler).Reconcile(0xc000796240, {0x1d4a2d8, 0xc00315b8f0}, {{{0xc003802a20, 0x5}, {0xc003802a10, 0xc}}})
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile(0x1d4a2d8?, {0x1d4a2d8?, 0xc00315b8f0?}, {{{0xc003802a20?, 0x17b0960?}, {0xc003802a10?, 0x0?}}})
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc0000006e0, {0x1d4a230, 0xc000467000}, {0x18f8200?, 0xc000134fa0?})
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc0000006e0, {0x1d4a230, 0xc000467000})
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2()
created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2
2024-07-23T01:53:31Z ERROR Reconciler error {"controller": "doriscluster", "controllerGroup": "doris.selectdb.com", "controllerKind": "DorisCluster", "DorisCluster": {"name":"doris-cluste","namespace":"doris"}, "namespace": "doris", "name": "doris-cluste", "reconcileID": "f961f771-3d06-478c-b5ea-5125280f854e", "error": "panic: runtime error: invalid memory address or nil pointer dereference [recovered]"} sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
|
Thank you for your feedback, this is a valuable issue, I have fixed it #207 . If you are in a hurry to use the fe scaling function, you can configure electionNumber: 3 in feSpec (3 is the default value, which means the number of fe followers) to avoid this problem. |
fixed:#207 |
通过doris-operator进行修改fe 或者be replicas的数量 只能增加 不能减少 减少无效 这个是正常的吗?
The text was updated successfully, but these errors were encountered: