Problem
HostConnection opens replacement connections and missing-shard connections asynchronously. If the host endpoint changes while that work is in progress, the new connection can still be published into the pool even though it was opened for the old endpoint.
Impact
The pool can retain connections that no longer belong to the current host endpoint, and later requests may be routed through stale connections after endpoint migration or client-route refresh.
Problem
HostConnectionopens replacement connections and missing-shard connections asynchronously. If the host endpoint changes while that work is in progress, the new connection can still be published into the pool even though it was opened for the old endpoint.Impact
The pool can retain connections that no longer belong to the current host endpoint, and later requests may be routed through stale connections after endpoint migration or client-route refresh.