-
Notifications
You must be signed in to change notification settings - Fork 407
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
Support Stolon+Consul (acting as a Stolon proxy) #2580
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68fa8fb
to
386894e
Compare
Please merge the signals PR and rebase this to simplify the review |
elprans
reviewed
Jun 8, 2021
elprans
reviewed
Jun 8, 2021
75f7a13
to
3359280
Compare
b30c863
to
a598e29
Compare
287d1b9
to
344e84b
Compare
344e84b
to
18a261c
Compare
elprans
reviewed
Aug 24, 2021
18a261c
to
bcbea6f
Compare
bcbea6f
to
c5cf6fe
Compare
c5cf6fe
to
2479b59
Compare
Also added a error type when sys_pgcon should retry connecting: 0A000: cannot use serializable mode in a hot standby Also added basic TLS support for Consul connection. Now --postgres-dsn supports the following protocols: * postgresql:// * postgres:// (alias of postgresql://) * stolon+consul+http:// * stolon+consul+https:// * stolon+consul:// (alias of stolon+consul+http://)
2479b59
to
eb270f9
Compare
3e6e04f
to
e14486f
Compare
Should this one be closed in favor of #2920? |
Sure, it's included in #2920 anyways. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a prototype supporting Stolon+Consul high availability. Launch the EdgeDB server with:
EdgeDB will subscribe to local Consul http://127.0.0.1:8500/v1/kv/stolon/cluster/{cluster_name}/clusterdata for updates from Stolon, and switch over to the new master Postgres when there is one.
TODO:
PR is built on #2557 and #2574.