Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Main goal is to make `tokenAwareHostPolicy.Pick` code less convoluted. But there are little functional changes: Before this PR hosts from tablets are not being shuffled There are three host information sources: tablets, meta and tokenring, Before this PR if tables returned no hosts for given token, in certain cases code did not consider meta or tokenring. And same for meta, it did not consider tokenring. After this PR, it starts goes through tablets, meta and tokenring, if current host sources yield no hosts it proceed to next one.
- Loading branch information