From c87acc7d7b14966010a957cb3164f6a5bb97fefd Mon Sep 17 00:00:00 2001 From: Bobbie Soedirgo Date: Mon, 3 Aug 2026 19:39:59 +0800 Subject: [PATCH] chore(multigres): bump images and module to 300f673 - Multigres 300f673 removes the RewindToSource RPC and the POSTGRES_ACTION_REWIND enum value; diverged standbys now self-heal locally inside multipooler. The operator references neither symbol, so the module bump is source-compatible and needs no code change. - pgctld now brings an already-initialized data directory up as a standby unless StartRequest.as_primary is set, so a crashed primary returns read-only until consensus promotes it. That path is entirely data-plane; the operator does not call pgctld's Start RPC. - pgctld live-includes --pg-initdb-extra-conf files via include_if_exists instead of copying their bytes at initdb, so edits to the ConfigMap the operator mounts at POSTGRES_INITDB_EXTRA_CONF are re-read on restart and SIGHUP. Only newly initialized data directories gain the include directive, since InitDataDirWithResult early-returns on an initialized PGDATA. - The structured-logging refactor lowercases messages and enforces snake_case attribute keys, but leaves the slog JSON builtins alone. The observer's log scanner still parses level, msg, error, and problem_code, and its probe-noise message strings are unchanged upstream. - multiadmin-web stays at sha-64da1ab: it is the newest commit touching web/multiadmin/ at or before 300f673, and no multiadmin-web image is published for the later SHAs. Signed-off-by: Bobbie Soedirgo Co-Authored-By: Claude Opus 5 --- api/v1alpha1/image_defaults.go | 12 ++++++------ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/api/v1alpha1/image_defaults.go b/api/v1alpha1/image_defaults.go index f78671ee..208046bc 100644 --- a/api/v1alpha1/image_defaults.go +++ b/api/v1alpha1/image_defaults.go @@ -5,25 +5,25 @@ package v1alpha1 const ( // DefaultPostgresImage is the default container image for PostgreSQL instances. // Uses the pgctld image which bundles PostgreSQL, pgctld, and pgbackrest. - DefaultPostgresImage = "ghcr.io/multigres/pgctld:sha-54b4c18" + DefaultPostgresImage = "ghcr.io/multigres/pgctld:sha-300f673" // DefaultEtcdImage is the default container image for the managed Etcd cluster. DefaultEtcdImage = "gcr.io/etcd-development/etcd:v3.6.7" // DefaultMultiadminImage is the default container image for the Multiadmin component. - DefaultMultiadminImage = "ghcr.io/multigres/multigres:sha-54b4c18" + DefaultMultiadminImage = "ghcr.io/multigres/multigres:sha-300f673" // DefaultMultiadminWebImage is the default container image for the MultiadminWeb component. - DefaultMultiadminWebImage = "ghcr.io/multigres/multiadmin-web:sha-95eb327" + DefaultMultiadminWebImage = "ghcr.io/multigres/multiadmin-web:sha-64da1ab" // DefaultMultiorchImage is the default container image for the Multiorch component. - DefaultMultiorchImage = "ghcr.io/multigres/multigres:sha-54b4c18" + DefaultMultiorchImage = "ghcr.io/multigres/multigres:sha-300f673" // DefaultMultipoolerImage is the default container image for the Multipooler component. - DefaultMultipoolerImage = "ghcr.io/multigres/multigres:sha-54b4c18" + DefaultMultipoolerImage = "ghcr.io/multigres/multigres:sha-300f673" // DefaultMultigatewayImage is the default container image for the Multigateway component. - DefaultMultigatewayImage = "ghcr.io/multigres/multigres:sha-54b4c18" + DefaultMultigatewayImage = "ghcr.io/multigres/multigres:sha-300f673" // DefaultPostgresExporterImage is the default container image for postgres_exporter sidecars. DefaultPostgresExporterImage = "quay.io/prometheuscommunity/postgres-exporter:v0.18.1" diff --git a/go.mod b/go.mod index 4f7eee17..d91555a7 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.26.5 require ( github.com/go-logr/logr v1.4.3 github.com/google/go-cmp v0.7.0 - github.com/multigres/multigres v0.0.0-20260722000357-54b4c18f6f5f + github.com/multigres/multigres v0.0.0-20260731210621-300f673c63ee github.com/prometheus/client_golang v1.23.2 github.com/prometheus/client_model v0.6.2 github.com/stretchr/testify v1.11.1 diff --git a/go.sum b/go.sum index 52d5a682..a13f65b0 100644 --- a/go.sum +++ b/go.sum @@ -160,8 +160,8 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee h1:W5t00kpgFdJifH4BDsTlE89Zl93FEloxaWZfGcifgq8= github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/multigres/multigres v0.0.0-20260722000357-54b4c18f6f5f h1:mTx1pTjg88onPCpIeqtafei5PdpsojyNEnE5IosIZkI= -github.com/multigres/multigres v0.0.0-20260722000357-54b4c18f6f5f/go.mod h1:QV8N0aZ4DUoBJPgt1pj5d28D0Pa8JgImWjVzvXH/wLU= +github.com/multigres/multigres v0.0.0-20260731210621-300f673c63ee h1:LVFvJTLSWlo1hs5PHCaGzY8C+mP8a/i8ZpkUc6rKC7k= +github.com/multigres/multigres v0.0.0-20260731210621-300f673c63ee/go.mod h1:QV8N0aZ4DUoBJPgt1pj5d28D0Pa8JgImWjVzvXH/wLU= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus=