Skip to content

cluster: add connect_to_control_host() for proxy-only access#831

Open
dkropachev wants to merge 1 commit intomasterfrom
dk/fix-for-proxy-access
Open

cluster: add connect_to_control_host() for proxy-only access#831
dkropachev wants to merge 1 commit intomasterfrom
dk/fix-for-proxy-access

Conversation

@dkropachev
Copy link
Copy Markdown
Collaborator

Adds a control-host session path for proxy-only deployments where discovered node addresses are not directly reachable. The new API pins the session to the current control-connection host endpoint and keeps pool/reconnection handling isolated from global host liveness.

Tests cover the new control-host session behavior, control-connection host resolution, and host-connection pool failure handling.

log = logging.getLogger(__name__)


class _HostAwareProxyEndPoint(EndPoint):

@mock_session_pools
def test_session_preserves_down_event_discounting_after_endpoint_update(self, *_):
class _DeterministicHashEndPoint(EndPoint):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant