-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Sticky Connection Pool #1831
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
Sticky Connection Pool #1831
Conversation
Always return the lowest alive node in the sequence they were provided
Should try each node in turn if still failing
This is currently skipped as i'm not sure how to make it work as expected using the test framework.
|
Thank you for taking the challenge @Romanx 👍 merged this in today 😄 |
|
@Mpdreamz Thanks for letting me have a stab, hopefully it all makes sense. Sorry about the formatting of the commit, didn't realise I didn't have the editor config plugin installed! |
|
@Mpdreamz did you get to look at the skipped test? I struggled with finding a way to do what I wanted to test with the current test framework, if there's a way i'd be willing to fix up that test |
See #1810
Not ready for merging and requires feedback. There's one skipped test which I wasn't sure how to do using your test framework,
If you could take a look and provide feedback if their is a way. If not it might be worth investing in making a way as it's a slightly more advanced use case than the other tests I found, hopefully the test explains itself well enough, otherwise just ask.
Test can be found in this commit 8d1906a