-
Notifications
You must be signed in to change notification settings - Fork 22
Logical Replication #924
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
base: 16/edge
Are you sure you want to change the base?
Logical Replication #924
Conversation
2c60d7a
to
d96c232
Compare
Codecov ReportAttention: Patch coverage is
❌ Your patch check has failed because the patch coverage (20.57%) is below the target coverage (33.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## 16/edge #924 +/- ##
===========================================
- Coverage 70.23% 66.01% -4.22%
===========================================
Files 16 17 +1
Lines 3723 4067 +344
Branches 541 592 +51
===========================================
+ Hits 2615 2685 +70
- Misses 974 1240 +266
- Partials 134 142 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fc023d6
to
4058c70
Compare
4058c70
to
ef1aed4
Compare
This is an implementation of the Logical Replication specification (On-Review): https://docs.google.com/document/d/1f84Z4cZwUD4q4bJsXTTC_PUaZr7pPB0Q6HnQ9cgCX_o/edit?usp=sharing.
Important
I cannot merge the latest
postgresql-k8s
lib revision therefore cannot create a new release because of the significant change made to this lib on the 14 channel, that prevents 16 channel from working when merged.Basic testing
postgresql
andpostgresql2
data-integrator
charms with thedatabase-name=testdb
config and integrate them with the both ofpostgresql
charmsjuju integrate postgresql:logical-replication-offer postgresql2:logical-replication
postgresql
:create table asd (message text); insert into asd values ('hello');
postgresql2
sidejuju config postgresql2 logical_replication_subscription_request='{"testdb": ["public.asd"]}'
postgresql2
side:select * from asd;
, and observe the data copied from thepostgresql
publisherpostgresql
side and observe it was pushed to thepostgresql2
subscriber