cluster/services/patroni: enable synchronous mode
This commit is contained in:
parent
c79da8bbdf
commit
11ad950b25
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,7 @@ in
|
||||||
};
|
};
|
||||||
use_pg_rewind = true;
|
use_pg_rewind = true;
|
||||||
use_slots = true;
|
use_slots = true;
|
||||||
|
synchronous_mode = true;
|
||||||
authentication = {
|
authentication = {
|
||||||
replication.username = "patronirep";
|
replication.username = "patronirep";
|
||||||
rewind.username = "patronirew";
|
rewind.username = "patronirew";
|
||||||
|
@ -71,6 +72,7 @@ in
|
||||||
wal_level = "replica";
|
wal_level = "replica";
|
||||||
hot_standby_feedback = "on";
|
hot_standby_feedback = "on";
|
||||||
unix_socket_directories = "/tmp";
|
unix_socket_directories = "/tmp";
|
||||||
|
synchronous_commit = "on";
|
||||||
};
|
};
|
||||||
pg_hba = [
|
pg_hba = [
|
||||||
"host replication patronirep ${net} scram-sha-256"
|
"host replication patronirep ${net} scram-sha-256"
|
||||||
|
|
Loading…
Reference in a new issue