Skip to content

[Bug] Doris operator fails to create BE StatefulSet when feSpec.replicas=0 #481

@tonsV2

Description

@tonsV2

Search before asking

  • I had searched in the issues and found no similar issues.

Version

25.8.0

What's Wrong?

When deploying a DorisCluster with feSpec.replicas: 0 and beSpec.replicas: 1 (intending to deploy only BE), the BE StatefulSet is not created. The operator expects an FE StatefulSet to exist for internal coordination.

What You Expected?

BE StatefulSet should be created even when FE replicas=0

How to Reproduce?

Deploy helm chart with:

feSpec:
  replicas: 0
beSpec:
  replicas: 1

Anything Else?

From the logs

fe controller controlClusterPhaseAndPreOperation get fe StatefulSet failed, err: StatefulSet.apps "test-doris-4-doris-be-fe" not found

I can look into submitting a PR, I haven't looked at the code yet but I do know Go

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions