Session.Warmup should mark host as down if no connection can be opened to that host

Description

When a node is down during session start up, it won't be marked as Down until requests start coming in. A nice optimization could be made in order to avoid timeouts on those initial requests which is to make Session.Warmup() mark hosts as down when no connection can be opened for those hosts.

Adding OnConnectionClosing(); to the catch block on HostConnectionPool.Warmup() should be enough.

Environment

None

Assignee

Unassigned

Reporter

Joao Reis

Labels

None

PM Priority

None

Fix versions

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

Pull Requests

None

Size

None

Priority

Major
Configure