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

Pull Requests

None

Status

Assignee

Joao Reis

Reporter

Joao Reis

Labels

None

Reproduced in

None

PM Priority

None

Fix versions

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Epic Link

None

Sprint

Size

None

Priority

Major