Disable wal_log_hints by default (#2598)

* Disable wal_log_hints by default

* Remove obsolete comment anbout wal_log_hints
This commit is contained in:
Konstantin Knizhnik
2022-10-22 14:59:18 +03:00
committed by GitHub
parent 321aeac3d4
commit 7b6431cbd7

View File

@@ -282,9 +282,7 @@ impl PostgresNode {
fn setup_pg_conf(&self, auth_type: AuthType) -> Result<()> {
let mut conf = PostgresConf::new();
conf.append("max_wal_senders", "10");
// wal_log_hints is mandatory when running against pageserver (see gh issue#192)
// TODO: is it possible to check wal_log_hints at pageserver side via XLOG_PARAMETER_CHANGE?
conf.append("wal_log_hints", "on");
conf.append("wal_log_hints", "off");
conf.append("max_replication_slots", "10");
conf.append("hot_standby", "on");
conf.append("shared_buffers", "1MB");