Skip to content

HostConnection can signal failures from stale or replaced pools #858

@dkropachev

Description

@dkropachev

Problem

HostConnection.return_connection() still runs down-handling for defunct or closed connections after that pool has stopped being the current pool for the host. If a topology refresh replaced the pool or changed the host endpoint first, the retired pool can still call host.signal_connection_failure() and drive cluster down handling against the current host state.

Impact

A failure from a stale pool can incorrectly mark the replacement endpoint down, tear down the healthy pool, or start unnecessary reconnection work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions