From cf06732deb4762f73d13ac8f52d405698c7583a5 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Thu, 12 Feb 2026 07:58:09 -0800 Subject: [PATCH 1/2] Add missing general settings --- templates/config.yaml | 33 +++++++++++++++++++++++++++++++++ test/values-full.yaml | 8 ++++++++ test/values-timeouts.yaml | 8 ++++++++ 3 files changed, 49 insertions(+) diff --git a/templates/config.yaml b/templates/config.yaml index c61a71f..2e4df8f 100644 --- a/templates/config.yaml +++ b/templates/config.yaml @@ -42,6 +42,9 @@ data: tls_server_ca_certificate = {{ .Values.tlsServerCaCertificate | quote }} {{- end}} shutdown_timeout = {{ .Values.shutdownTimeout | default "60_000" }} + {{- if .Values.shutdownTerminationTimeout }} + shutdown_termination_timeout = {{ .Values.shutdownTerminationTimeout }} + {{- end }} prepared_statements = {{ .Values.preparedStatements | default "extended" | quote }} {{- with .Values.queryParser }} query_parser = {{ . | quote }} @@ -71,12 +74,33 @@ data: {{- end }} checkout_timeout = {{ .Values.checkoutTimeout | default "5_000" }} dry_run = {{ .Values.dryRun | default "false" }} + {{- if hasKey .Values "twoPhaseCommit" }} + two_phase_commit = {{ .Values.twoPhaseCommit }} + {{- end }} + {{- if hasKey .Values "twoPhaseCommitAuto" }} + two_phase_commit_auto = {{ .Values.twoPhaseCommitAuto }} + {{- end }} + {{- if .Values.systemCatalogs }} + system_catalogs = {{ .Values.systemCatalogs | quote }} + {{- end }} + {{- if hasKey .Values "omnishardedSticky" }} + omnisharded_sticky = {{ .Values.omnishardedSticky }} + {{- end }} + {{- if .Values.reshardingCopyFormat }} + resharding_copy_format = {{ .Values.reshardingCopyFormat | quote }} + {{- end }} + {{- if hasKey .Values "reloadSchemaOnDdl" }} + reload_schema_on_ddl = {{ .Values.reloadSchemaOnDdl }} + {{- end }} {{- if .Values.idleTimeout }} idle_timeout = {{ .Values.idleTimeout }} {{- end }} {{- if .Values.clientIdleTimeout }} client_idle_timeout = {{ .Values.clientIdleTimeout }} {{- end }} + {{- if .Values.clientLoginTimeout }} + client_login_timeout = {{ .Values.clientLoginTimeout }} + {{- end }} mirror_queue = {{ .Values.mirrorQueue | default "128" }} mirror_exposure = {{ .Values.mirrorExposure | default "1.0" }} auth_type = {{ .Values.authType | default "scram" | quote }} @@ -92,9 +116,15 @@ data: server_lifetime = {{ .Values.serverLifetime | default "86400000" }} log_connections = {{ .Values.logConnections | default "true" }} log_disconnections = {{ .Values.logDisconnections | default "true" }} + {{- if .Values.statsPeriod }} + stats_period = {{ .Values.statsPeriod }} + {{- end }} {{- if .Values.connectionRecovery }} connection_recovery = {{ .Values.connectionRecovery | quote }} {{- end }} + {{- if .Values.clientConnectionRecovery }} + client_connection_recovery = {{ .Values.clientConnectionRecovery | quote }} + {{- end }} expanded_explain = {{ .Values.expandedExplain | default "false" }} {{- if hasKey .Values "lsnCheckDelay" }} lsn_check_delay = {{ .Values.lsnCheckDelay }} @@ -102,6 +132,9 @@ data: {{- if hasKey .Values "lsnCheckInterval" }} lsn_check_interval = {{ .Values.lsnCheckInterval }} {{- end }} + {{- if hasKey .Values "lsnCheckTimeout" }} + lsn_check_timeout = {{ .Values.lsnCheckTimeout }} + {{- end }} {{- range .Values.databases }} [[databases]] diff --git a/test/values-full.yaml b/test/values-full.yaml index 586497c..f3904be 100644 --- a/test/values-full.yaml +++ b/test/values-full.yaml @@ -6,6 +6,14 @@ env: value: trace queryParserEngine: "pg_query_raw" +# Sharding settings +twoPhaseCommit: true +twoPhaseCommitAuto: false +systemCatalogs: omnisharded_sticky +omnishardedSticky: true +reshardingCopyFormat: binary +reloadSchemaOnDdl: true + memoryNetBuffer: 8192 memoryMessageBuffer: 8192 memoryStackSize: 2097152 diff --git a/test/values-timeouts.yaml b/test/values-timeouts.yaml index d27ad2a..9fa6d83 100644 --- a/test/values-timeouts.yaml +++ b/test/values-timeouts.yaml @@ -3,12 +3,20 @@ healthcheckTimeout: 10_000 banTimeout: 30_000 rollbackTimeout: 10_000 shutdownTimeout: 120_000 +shutdownTerminationTimeout: 30_000 connectTimeout: 10_000 queryTimeout: 60_000 clientIdleInTransactionTimeout: 30_000 checkoutTimeout: 10_000 idleTimeout: 300_000 clientIdleTimeout: 600_000 +clientLoginTimeout: 30_000 +statsPeriod: 30_000 +lsnCheckDelay: 1_000 +lsnCheckInterval: 10_000 +lsnCheckTimeout: 5_000 +connectionRecovery: recover +clientConnectionRecovery: recover databases: - name: primary From cca03afc2f76218de2fb145bf16b53bc60e40580 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Thu, 12 Feb 2026 07:58:38 -0800 Subject: [PATCH 2/2] chart version --- Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index b3a435f..5e38a4f 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v1 name: pgdog -version: v0.42 -appVersion: "0.1.26" +version: v0.43 +appVersion: "0.1.29"