Skip to content

Basic Auth token expire, what watch stream will be happened? #12157

Closed
@xkeyideal

Description

https://github.com/etcd-io/etcd/blob/master/clientv3/client.go#L254

See the codes, i see when unary invoke rpctypes.ErrInvalidAuthToken will c.authTokenBundle.UpdateAuthToken(resp.Token) and retry the operate, but stream no retry.

When create or reconnect stream connection return ErrInvalidAuthToken, the etcd clientv3 will not work?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions