Skip to content

Commit 8cdb0c2

Browse files
authored
Follow up on patroni#2755 (patroni#3137)
- don't register secondaries with `noloadbalance` tag. - mention in the documentation that secondaries are also registered in `pg_dist_node`. - update docker/kubernetes README files to include examples with secondaries being registered in `pg_dist_node`.
1 parent 6d65aa3 commit 8cdb0c2

File tree

5 files changed

+172
-135
lines changed

5 files changed

+172
-135
lines changed

Dockerfile.citus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ RUN sed -i 's/env python/&3/' /patroni*.py \
180180
&& sed -i "s|^\( data_dir: \).*|\1$PGDATA|" postgres?.yml \
181181
&& sed -i "s|^#\( bin_dir: \).*|\1$PGBIN|" postgres?.yml \
182182
&& sed -i 's/^ - encoding: UTF8/ - locale: en_US.UTF-8\n&/' postgres?.yml \
183-
&& sed -i 's/^scope:/log:\n loggers:\n patroni.postgresql.citus: DEBUG\n#&/' postgres?.yml \
183+
&& sed -i 's/^scope:/log:\n loggers:\n patroni.postgresql.mpp.citus: DEBUG\n#&/' postgres?.yml \
184184
&& sed -i 's/^\(name\|etcd\| host\| authentication\| connect_address\| parameters\):/#&/' postgres?.yml \
185185
&& sed -i 's/^ \(replication\|superuser\|rewind\|unix_socket_directories\|\(\( \)\{0,1\}\(username\|password\)\)\):/#&/' postgres?.yml \
186186
&& sed -i 's/^postgresql:/&\n basebackup:\n checkpoint: fast/' postgres?.yml \

0 commit comments

Comments
 (0)