Skip to content

Review DCAwareRoundRobinPolicy host distance calculation #223

Open
@Gor027

Description

@Gor027

While working on RackAwarePolicy, it was noticed that DCAwareRoundRobinPolicy considers hosts without local datanceter information to be considered local. In RackAwarePolicy, only if localDc is UNSET then a host without local dc information can be considered local. One of these approaches is wrong, most probably DCAwareRoundRobinPolicy::distance should be modified.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions