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

Decouple routing logic from address set #200

Merged
merged 4 commits into from
Jul 18, 2017
Merged

Decouple routing logic from address set #200

merged 4 commits into from
Jul 18, 2017

Commits on Jul 17, 2017

  1. Decouple routing logic from address set

    This commit introduces a separate load balancing strategy abstraction
    responsible for address selection.
    lutovich committed Jul 17, 2017
    Configuration menu
    Copy the full SHA
    7d46a77 View commit details
    Browse the repository at this point in the history
  2. Simplified connection acquisition in cluster pool

    Commit changes `TryAcquire` with out parameter to simple `Acquire` that
    either returns a connection or null.
    lutovich committed Jul 17, 2017
    Configuration menu
    Copy the full SHA
    7ceadb3 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2017

  1. Configuration menu
    Copy the full SHA
    5cb7432 View commit details
    Browse the repository at this point in the history
  2. Fixed locking in AddressSet#Clear()

    Re-assignment of the internal list needs to be done while holding a lock
    so that it is coordinated and isolated from other modifications like
    `#Add()` or `#Remove()`.
    lutovich committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    b8e3837 View commit details
    Browse the repository at this point in the history