Infinite loop in token map calculation when using SimpleStrategy and RF > number of nodes

Description

The inner loop of token map calculation for SimpleStrategy should be bounded by the total number of tokens and the number of required replicas, not just the required replicas.

Environment

None

Pull Requests

None

Assignee

Unassigned

Reporter

Michael Penick

Labels

None

PM Priority

None

Reproduced in

None

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Size

None

Fix versions

Affects versions

Priority

Major
Configure