Skip to content

fibre: Client doesn't refetch fibre server addresses in runtime if they change #7235

@Wondertan

Description

@Wondertan

fibre.Client calls grpc.ClientCache.GetClient that constructs and cache grpc clients for later reuse. However, if the fiber server restarts and changes its registered address, the client won't notice until it restarts as well, as it the client is cached and there is no notification system.

A robust solution would be to catch dial/connection errors during requests, refetch the host name and try reconnecting/refetching forever with a backoff.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions