Default load balancing policy local hosts cache might exclude hosts that were down

Description

The policy caches local hosts that are used for the query plan after the replicas, but includes a host#isUp() in the check, so if a host is down at the moment that it's being cache it will not be included in the future and this cache will not be cleared until the host map changes.

Environment

None

Pull Requests

None

Activity

Show:
Jorge Bay Gondra
January 9, 2020, 11:49 AM

Fixed as part of NODEJS-574.

Fixed

Assignee

Unassigned

Reporter

Jorge Bay Gondra

Reviewer

None

Fix versions

Labels

None

Components

None

PM Priority

None

Reproduced in

None

Pull Request

None

Priority

Major
Configure