-
Notifications
You must be signed in to change notification settings - Fork 184
High availability cluster functionality #474
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
Conversation
This looks pretty exciting. I will have to take a deeper look in the next days. |
From a planning perspective, while I'd love to include the PR into our 0.9 GA release, I think it doesn't work out with our timing to ship 0.9 GA today. We will have to postpone it to one of the maintenance releases. |
I started looking today at the pull request and figured that I'm not able to rebase the PR. Can you please squash all commits into a single one and rebase the PR onto |
@kressi Can you please support to move these changes to official master branch of this library? We are eagerly waiting for your changes in official release. |
@harishvashistha, @mp911de, I will start working on it |
Thanks a lot @kressi, I plan to wrap up the cluster support this week. I expect that the next release will be a milestone of 1.0 to allow folks to try out this feature before we ship it with a GA release. |
@mp911de that would be great. Waiting eagerly on this. |
Not sure whether In any case, I like the outcome here and likely in the future, we could maintain active connections along with an improved host selector that applies on a per-transaction/per query basis so that e.g. read-only transactions might run directly on a replica instead of the master node. |
I polished up the code a bit and refactored the code to align with I still need to work on the tests to get an idea whether all of this is correct but things look pretty decent now. |
Thanks, everyone for your contribution. That's merged and polished now. |
@mp911de Thanks, great news. which version of r2dbc-postgressql jar has this feature? or soon you're going to make something available? |
This feature will be shipped with 1.0 M1. You can verify the functionality already with the version |
@mp911de @kressi @harishvashistha One more question is:
|
It looks like #203 has been abandoned. Nevertheless, I could use HA cluster functionality. I am aware of #250 which got closed again. However, almost another year has passed without any visible activity. So, I am hoping this MR will be accepted.
I got stuck and would appreciate some guidance with following issues brought up by @mp911de.
ClientFactory
andClientSupplier
into a single interface (Failover functionality #203 (review))