Skip to content

DruidLeaderClient.goAsync() is broken #9701

@jihoonson

Description

@jihoonson

Affected Version

0.18.0

Description

This bug seems to be introduced after #9481. Before this PR, DruidLeaderClient used to use ServerDiscoverySelector to find the leader. Since only the leader Overlord and Coordinator announce themselves, ServerDiscoverySelector could return the current leader to DruidLeaderClient. But now, DruidLeaderClient picks up the first node returned from DruidNodeDiscovery which knows all announced nodes. Since DruidLeaderClient.goAsync() doesn't follow redirection (#8716), some methods of the system table which use goAsync() API returns an error with the Temporary Redirect status.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions