Skip to content

gnmic retries stream subscriptions even when server responds with PERMISSION_DENIED or RESOURCE_EXHAUSTED #834

@m08071998

Description

@m08071998

Hi gnmi developers

gnmic infinitely attempts to retry sending subscription stream request to the server even when it responds with PERMISSION_DENIED or RESOURCE_EXHAUSTED. This makes gnmic keep holding a connection with server using resources.

Looks like, gnmic does not handle any error code in response, and indefinitely attempts a retry.

Should the client not handle such error codes gracefully and not do indefinite reattempts on failures from which we cannot recover even on retries?

Thanks.

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