Skip to content

ClusterSharding: lack of ability to automatically choose start or startProxy by a node role #23934

@sergiy0

Description

@sergiy0

start method of ClusterSharding throws an IllegalArgumentException in case there is no match between cluster node roles and the role specified in the ClusterShardingSettings passed to this method.
But it may be handy to have a method which will start a ShardRegion in proxy mode on nodes without this role (rather then just throwing an exception). Also this may allow to change role in ClusterShardingSettings without changing the application code.

This issue probably depends on #23472

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIssues that the core team will likely not have time to work ont:cluster-tools

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions