Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x: Add optional fallback for ControlConnection#reconnect() #341

Merged

Commits on Oct 8, 2024

  1. Add MockResolverIT#cannot_reconnect_with_resolved_socket()

    Adds a method for testing the issues that surface after cluster
    replacements. Due to the variable, sometimes long runtime it is not added
    to any of the test groups.
    Bouncheck committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    35bf41a View commit details
    Browse the repository at this point in the history
  2. Add optional fallback for ControlConnection#reconnect()

    Adds an experimental option to allow `ControlConnection` to try
    reconnecting to the original contact points held by `MetadataManager`,
    in case of getting empty query plan from the load balancing policy.
    
    In order to separate this logic from query plans of other queries
    `LoadBalancingPolicyWrapper#newControlReconnectionQueryPlan()` was introduced
    and is called during reconnection in place of `newQueryPlan()`.
    Bouncheck committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    2b280a2 View commit details
    Browse the repository at this point in the history