Reduce max_replication_write_lag to 10Mb (#1793)

This commit is contained in:
Konstantin Knizhnik
2022-11-23 08:41:22 +02:00
committed by GitHub
parent 37625c4433
commit 1af087449a

View File

@@ -343,7 +343,7 @@ impl PostgresNode {
// To be able to restore database in case of pageserver node crash, safekeeper should not
// remove WAL beyond this point. Too large lag can cause space exhaustion in safekeepers
// (if they are not able to upload WAL to S3).
conf.append("max_replication_write_lag", "500MB");
conf.append("max_replication_write_lag", "15MB");
conf.append("max_replication_flush_lag", "10GB");
if !self.env.safekeepers.is_empty() {