TokenAwarePolicy: Round robin through replicas

Description

TokenAwarePolicy.newQueryPlan gets the replicas and always returns the first local replica if that is up. In a healthy cluster in steady mode all requests are routed to the same replica.

Environment

None
Done

Assignee

Jorge Bay Gondra

Reporter

Jorge Bay Gondra

Labels

None

PM Priority

None

Fix versions

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

None

Pull Requests

None

Size

None

Affects versions

Priority

Major
Configure