Skip to content

Helix rest disablePartitions API fails to parse ALL_RESOURCE as the key  #2962

Open
@MarkGaox

Description

@MarkGaox

Describe the bug

We introduced a feature that uses the ALL_RESOURCE placeholder to disable all resources, allowing the controller to treat the instance as DISABLED, even if its specific instance operation is NOT DISABLED. However, it seems that ALL_RESOURCE is not being correctly interpreted by Helix-REST.

To Reproduce

Sending a call to disablePartitions while setting the resources to be ALL_RESOURCE

Expected behavior

A clear and concise description of what you expected to happen.
Calling disablePartitions with ALL_RESOURCE should work

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions