SupabaseArchitecture and datareference
Multigres OSS failover: what a client sees
What a Postgres client sees when the primary of an open-source Multigres cluster dies, freezes or has a lagging standby: how long writes stall, which errors come back, and whether any acknowledged write is lost. For anyone weighing Multigres against the warm standby tier of a managed project.
The numbers are from one local rig on 2026-10-10: a Docker Desktop VM (Linux kernel 7.0.14-linuxkit, Docker server 29.8.2, 10 CPUs, about 8 GB) on an arm64 Mac. The tests, the load generators and the fault injector (docker exec kill) ran on the macOS host and reached the gateway through a published port. No cloud resources and no Supabase project were involved. The Multigres blog and the v0.1.0 release page are documented sources and were not tested.12
Scope first. This is the upstream repository’s all-in-one image (Dockerfile.cluster), built from a pinned main commit of 2026-10-09 because the v0.1.0 tag has no such Dockerfile (the GitHub contents API answered 404 at that ref). It is not the Kubernetes operator path1 and not the invite-only private alpha, and neither was measured.
TL;DR:
- 17 failovers, 2,216,532 acknowledged writes checked against a client-side commit log, 0 acknowledged-but-lost. That includes a standby left 22.3 to 23.3 MB behind by
SIGSTOP, followed by killing the primary and the other standby: the lagging standby was never promoted (MG08). - The longest ack-free gap depends on the fault. Postgres
SIGKILL: 1.1 to 4.2 s with 8 writers, 1.9 to 6.7 s with one 10 writes/s client. Whole-cell kill: 14.7 to 15.1 s. Hung primary: 20.0 and 25.1 s in the main run, 20.0 to 56.2 s over six runs in three artifacts. - Clients are not shielded. In-flight statements fail (one per worker), new connections get
no writable primary is currently availableordatabase is temporarily unavailable; please retry, and 2 to 5 connects per postgres-kill run were refused withpassword authentication failedusing the correct password. - Nothing restarted a killed cell in this container: the cluster stayed at 2 nodes for 45 s.
- The gateway passed 9 of 9 session-feature probes on two cells, with one uncontended client. Pool contention, network partitions and other durability policies were not measured.
- A later read of the upstream code (2026-10-16, no new run) proposes a timer behind each window: a 5 s health snapshot and 5 s postgres monitor tick, a 15 s leader-liveness window, a 20 s quorum-commit staleness and grpc-go’s default 20 s connect timeout. See Why the windows are what they are.
Topology
Section titled “Topology”- The client connects to the zone1 multigateway through one published port.
- The gateway routes to the multipooler, which holds the backends on that cell’s postgres.
- Each cell runs its own postgres, pgctld, multipooler, multiorch and multigateway; etcd and multiadmin are shared.
- Commits are acknowledged under
synchronous_commit=onwithsynchronous_standby_namesof the formANY 1 (<3 ids>), so one standby must flush before the client sees an acknowledgement.
What was run, as measured in MG01 and the run configuration:
| Item | Value |
|---|---|
| Image | upstream main at commit e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73 (2026-10-09), built from Dockerfile.cluster |
| Server banner | Multigres 0.1.0-SNAPSHOT (unknown revision) built with go1.26.9 (image built without the commit stamp) |
| Cells | 3 (zone1 to zone3); a single cell never becomes ready |
| Durability | synchronous_commit=on, ANY 1 of 3 poolers, 2 walsenders visible from the primary, max_connections=110 |
| Multiorch timers | recovery-cycle-interval 500 ms; pooler-health-check-interval 500 ms is also set but nothing reads it (code read, 2026-10-16) |
| Bootstrap | allow-unsafe-initial-cohort: true written into every multiorch block by the entrypoint |
| Load | 8 workers, one connection each, autocommit INSERT (w, n) through the zone1 gateway, closed loop, 5,398 to 6,046 acknowledged writes per second before the fault |
The 500 ms cycle and the unsafe-initial-cohort flag are the local provisioner’s values. The operator passes neither, so an operator deployment runs the default 1 s recovery-cycle-interval; the operator itself was not run, and whether the difference changes the results was not measured.
What each fault costs the client
Section titled “What each fault costs the client”Each run is one failover; n = 3 per fault unless stated. An INSERT that returns is acknowledged. One that errors is in doubt and is checked against the final table. Acknowledged-but-lost means an acknowledged (w, n) missing from the table read back after recovery. The stall is the longest interval with no acknowledgement from any worker that ends after the fault.
| Module and fault | n | Acknowledged writes checked | Acknowledged-but-lost | Ack stall per run (ms) |
|---|---|---|---|---|
MG02 SIGKILL the primary’s postgres (pgctld and multipooler left up) | 3 | 442,944 | 0 | 2,238 / 1,100 / 4,233 |
MG03 SIGKILL postgres, multipooler and pgctld of the primary’s cell | 3 | 263,121 | 0 | 14,702 / 15,136 / 14,735 |
MG04 SIGSTOP the primary’s cell for 45 s, then SIGCONT | 2 | 395,924 | 0 | 20,016 / 25,122 |
MG08 one standby SIGSTOPped 20 s (22.3 to 23.3 MB behind), then primary and current standby SIGKILLed | 3 | 759,319 | 0 | 6,852 / 6,431 / 8,161 |
| MG09 as MG02 with one writer at 10 writes/s | 3 | 720 | 0 | 6,657 / 1,900 / 6,589 |
| MG05 pgbench relaunch loop and two single runs | 3 | 354,504 logged | 0 | n/a / n/a / 2,283 |
Over the 17 runs, 2,216,532 acknowledged writes were checked and none was missing from the final table. Every run ended with the same row count on every surviving node and on a read through the gateway. The fault clock starts just before the docker exec kill, whose latency is inside every window (largest 154 ms in the printed evidence).
Postgres crash (MG02, MG09)
Section titled “Postgres crash (MG02, MG09)”After the postgres SIGKILL, the promote step took 327 to 374 ms in MG02, 343 to 364 ms in MG09 and 345 to 2,181 ms in MG08. The rest of the stall is the time before multiorch starts its leader appointment: the first starting leader appointment line came 570 to 3,786 ms after the kill in MG02, 1,411 to 6,082 ms in MG09 and 5,765 to 6,288 ms in MG08.
The spread is wide, from about 1 s to about 6.7 s, with most runs near 1 to 2 s or near 6 to 7 s. The runs do not explain it; a code reading proposes two 5 s timers and a skipped re-check (below). The one-writer MG09 runs gave (6.7 / 1.9 / 6.6 s) and the 8-writer MG02 runs (2.2 / 1.1 / 4.2 s), but two earlier full runs of the same fault code gave (6.3 / 1.8 / 1.0 s) and (1.4 / 1.7 / 1.3 s). At n = 3 per cell the claim that traffic speeds up detection is not supported and is not made.
Whole-cell loss (MG03)
Section titled “Whole-cell loss (MG03)”Killing postgres, multipooler and pgctld together gave multiorch the reason LeaderUnreachableByCohort. Its first starting leader appointment line came (14.2 to 14.6 s) after the kill in all three runs, and the promote step took 360 to 364 ms. Nothing restarted the killed cell: after a 45 s wait the cluster still had 2 nodes in all three runs, so each MG03 run starts from a freshly created container.
Hung primary (MG04)
Section titled “Hung primary (MG04)”A frozen cell keeps its sockets open. Multiorch’s reason was LeaderQuorumWritesStalled. In the two main-run measurements:
| Event | Run a | Run b |
|---|---|---|
First executing appoint leader action check | +18.6 s | +18.7 s |
starting leader appointment | +19.4 s | +20.1 s |
| New primary promoted at the pooler | +19.9 s | +20.6 s |
| Multiorch logs the promotion as a success | +39.7 s | +40.3 s |
| Client ack stall | 20,016 ms | 25,122 ms |
Multiorch’s success line lags the pooler-level promote by about 20 s because the winning round waits for every Promote, the frozen cell’s included: the winning round’s recruit took 128 ms (run a) and 111 ms (run b) and its promote phase 20,126 and 20,140 ms. The recruit_ms of about 20,250 belongs to the other two orchestrators’ rounds, which failed waiting on the frozen cell’s Recruit. (Corrected 2026-10-16: this paragraph first gave that recruit as the winner’s wait.) In run a the 20,016 ms stall coincides with the client’s own 20 s statement timeout: all 8 workers ended with Query read timeout at +20 s, so the client could not see recovery earlier. In run b the reconnects after that timeout hit the client’s 5 s connect timeout once (8 x timeout expired at +25.15 s), which accounts for the 25,122 ms on top of a cluster-side recovery at about +20.6 s. That 5 s is the client’s connect timeout.
The stall was not always about 20 s. Across the six MG04 runs in three artifacts it was 20.0 / 25.1 s (main run), 20.0 / 20.0 s and 25.1 / 56.2 s. In the 56.2 s run all three orchestrators’ first rounds failed at +39.7 s (recruit_ms 20,253 to 20,254, none succeeded), a new round started at +48.3 s and succeeded at +57.8 s (recruit_ms 113, promote_ms 9,440), and the client saw 8 x Query read timeout plus 8 x portal execution failed ... EOF. A code reading suggests a split vote followed by the recruitment backoff; the artifact carries no attempt numbers, so that is not confirmed. The earlier artifacts are published beside the main run (see Modules) and cited only for this range.
Lagging standby (MG08)
Section titled “Lagging standby (MG08)”One standby was stopped for 20 s. In all three runs the primary’s pg_stat_replication showed it 22,265,848 to 23,256,456 bytes behind (flush lag) just before the double kill. The lagging standby was not promoted in any run: the winner was the restarted original primary once and the up-to-date killed standby twice. A first version with a 5 s stop (5.4 to 5.8 MB behind) promoted the lagging standby in 1 of 3 runs with 0 lost, and proves nothing, because that much WAL may sit in the stopped standby’s socket receive buffer and arrive after SIGCONT although the primary is dead. The buffer size was not measured. The 20 s stop makes the lag about four times larger, and that is the version reported.
What clients saw
Section titled “What clients saw”Failover does not hide the fault from the client. Measured during the runs above:
| Observation | Detail |
|---|---|
| In-flight statements fail | One failed INSERT per worker in every MG03 and MG04 run (8 of 8), 8 to 11 in MG02. Of the failed INSERTs, 0 to 5 per run were in the table anyway (committed, unacknowledged); the rest were absent |
| Error text, verbatim fragments | failed to read message: EOF, terminating connection due to unexpected postmaster exit, no writable primary is currently available, and the client-side Query read timeout (MG04) |
| New connections during a postgres kill (MG02, MG08, MG09) | database is temporarily unavailable; please retry or no writable primary is currently available. Failed connects per run: 45 to 237 (MG02), 349 to 561 (MG08), 13 to 59 (MG09) |
| Refused logins with the correct password | In every one of those runs, 2 to 5 connects were refused with password authentication failed for user "postgres" although the same password connected before and after |
| Held connects | 3 connects per run in MG02 and in two MG08 runs were accepted but held before completing (longest per run 1.2 to 4.6 s) |
| New connections during cell loss (MG03) | 1,096 to 1,136 failed per run, all no writable primary is currently available, none held over 200 ms |
| New connections to a hung primary (MG04) | Run a had 0 failed connects: the clients sat on their open sockets until the 20 s timeout |
pgbench shows the reconnect burden plainly (MG05). In one long run with the simple protocol and one with -M prepared, all 8 clients aborted 45 to 51 ms after the kill, pgbench exited 2, and no client completed a transaction after the fault, so pgbench alone gives no failover window (reported n/a). A relaunch loop of 41 back-to-back pgbench -T 2 runs, 21 of which exited non-zero, had 8 of 8 client slots complete transactions after the fault, with an ack stall of 2,283 ms and 240,174 transactions logged. pgbench’s per-client log counts matched the per-client row counts: 0 acknowledged commits missing in all three runs, and rows exceeded logged transactions by 3 to 5 (committed, unacknowledged).
The Multigres launch post says “During a failover, multigateway can hold requests until a new primary is promoted, thereby minimizing errors.”1 Statements already sent to the dead primary failed here, and most new connects were refused with an error rather than held; the 3 held connects per run are the part that matches. The gateway’s failover buffer is off by default and this image never turns it on; the operator does (see below).
Gateway behaviour on one client
Section titled “Gateway behaviour on one client”MG06 re-ran the 9 probes of the pooler-semantics S01 matrix against the primary’s own postgres (control, 9 of 9), the zone1 gateway and the zone2 gateway. Both gateways passed 9 of 9: pid_stable, prepared_first, prepared_reuse (bind and execute with no re-parse), advisory_lock, listen_notify, session_guc, cursor_with_hold, temp_table and explicit_txn.
One client was connected, so the pool was uncontended. The gateway did not give that client a dedicated backend: autocommit statements ran on backend pid 9171 (both gateways), the explicit transaction on a different pid (9928 and 9931), and the control on 9927. Whether session state survives when other clients compete for the pool was not measured.
MG07 connected roles mg07_a and mg07_b through the gateway; the primary’s pg_stat_activity showed a backend with usename equal to each role, on different pids. That is consistent with the blog’s “separate connection pool per user with no shared pool and no SET ROLE impersonation”1 for two roles and one connection each. Pool sizing and fair-share allocation were not tested.
Why the windows are what they are
Section titled “Why the windows are what they are”A read of the upstream source at the tested commit3, the operator4 and grpc-go v1.81.1, set against the published artifacts. No module was re-run: each row is reasoned from code and the existing logs, not measured. Upstream main on 2026-10-16 had 13 commits since the tested one; none changes the orchestrator’s failover logic, the health stream, the gateway buffer or the credential lookup, though 599381f4 changes the error a cut-off statement returns (below), and v0.1.0 was still the only tag.
| Window or symptom | Code that sets it | Reading |
|---|---|---|
| Postgres crash, 1.1 to 6.7 s | The pooler pushes a health snapshot when its 5 s postgres monitor sees a state change, or every DefaultSnapshotInterval = 5 * time.Second5; the monitor ticks every 5 s and starts a stopped postgres in place6 | Where the kill lands against two independent 5 s timers. The primary already exists, skipping leader appointment lines are the appointment’s live re-check passing against a restarted or stale-cached leader, which open upstream PR #1545 targets7. MG08’s 5,765 to 6,288 ms to appointment is not separated by this |
| Whole-cell loss, 14.2 to 14.6 s to appointment | LeaderLivenessFreshness: 15 * time.Second8 | The leader stops counting as live 15 s after its last snapshot, which, from the 14.2 to 14.6 s to appointment, arrived under about 1 s before the kill (inferred, not logged) |
| Hung primary, about 20 s to the pooler-level promote | DefaultQuorumCommitStaleAfter = 20 * time.Second9 | A frozen primary’s followers still look connected, so only the quorum-commit staleness fires |
| Hung primary, a further 20 s to the success log | multigres sets no gRPC connect parameters, so grpc-go’s minConnectTimeout = 20 * time.Second applies10 | The winner’s promote phase and the losers’ recruits wait on the frozen process: its kernel accepts the TCP connection, but the stopped process never sends the HTTP/2 preface |
Right password refused with 28P01 | A credential-lookup error the gateway cannot classify is answered with the opaque auth error11 | Lookups in flight on a postgres that died while its pooler stayed up; MG03, where the pooler died too, got no writable primary is currently available (57P03 in code) and no 28P01. No upstream fix or open PR found |
| In-flight statements fail | buffer-enabled defaults to false12 and this image never sets it; the operator turns it on13 | The buffer is designed for planned failovers and holds only no writable primary, MTF01, pre-execution unavailable and replay-safe 25006 / recovery 0A000 errors14, so a statement cut off mid-execution fails with it on too. Since upstream commit 599381f4 (2026-10-12, after the tested commit) that failure reads 08006 connection to server lost; these runs saw failed to read message: EOF |
pooler-health-check-interval 500 ms | Its getter has no caller outside tests15 | The setting did nothing in these runs |
| Nothing restarted a killed cell | PID 1 in the image only watches multigateway16 | Under the operator the containers would run with a Kubernetes restart policy (assumed, not traced in the operator source); the operator itself was not run |
The 5 s, 15 s and 20 s values are constants or unset defaults and the operator passes no timer flags to multiorch, so by this reading the crash, cell-loss and hung-primary windows carry to an operator deployment, give or take its 1 s default cycle. The buffer and container restarts are what differ. No run has tested that.
Reading the numbers
Section titled “Reading the numbers”| Claim | Holds for | Does not follow |
|---|---|---|
| 0 acknowledged-but-lost | ANY 1 of 3, synchronous_commit=on, process kill and SIGSTOP, 17 runs | Partitions, other policies, a contended pool |
| Stall of 1.1 to 6.7 s after a postgres kill | This rig, a 500 ms orchestrator cycle | A default deployment; a measured cause for the spread (the cause is from code reading only) |
| 14.7 to 15.1 s for a lost cell | Three runs, each on a fresh container | What an operator does with a dead pod: here nothing restarted the cell |
| 20.0 to 56.2 s for a hung primary | Six runs in three artifacts; two of them in the main run | That 56.2 s is an upper bound: in that run all three first rounds failed (a split vote by code reading, unconfirmed) |
| Latency and throughput | Context only: closed-loop figures from a Docker Desktop VM | Any comparison with a managed project |
Not measured: the Kubernetes operator path and real node loss; the invite-only private alpha (no access); network partitions between cells (a frozen process is not a partition); loss of a gateway or of etcd; durability policies other than ANY 1 of 3; whether allow-unsafe-initial-cohort and the 500 ms cycle change the results; a run that confirms the code reading of the detection spread and of the failed first round.
The nearest managed comparison is the hand-rolled warm standby in Supabase disaster recovery tiers, which is logical replication with a rehearsed cutover measured in minutes. This rig fails over inside the cluster in seconds on synchronous replication, with the caveats above. Moving data between two Postgres endpoints with logical replication is the subject of pgmig.
What to do about it
Section titled “What to do about it”Sizing and client rules from this page’s own numbers. A row that is a design choice says so.
| Practice | Evidence | Module |
|---|---|---|
| Retry a failed write on a new connection, and make it idempotent. | In-flight INSERTs failed, one per worker in every MG03 and MG04 run; 0 to 5 failed INSERTs per run were committed anyway. | MG02, MG03, MG04 |
| Retry a refused login with the same password before alarming. | 2 to 5 connects per postgres-kill run answered password authentication failed with the correct password; by code reading, an unclassified credential-lookup error answered as 28P01. | MG02, MG08, MG09 |
| Budget about 15 s for a lost cell and 60 s for a hung primary. | 14.7 to 15.1 s (3 runs) and 20.0 to 56.2 s (six runs); the budgets are design choices above those ranges. | MG03, MG04 |
| Set the client statement timeout to the stall you can absorb. | The 20,016 ms stall matched the client’s own 20 s statement timeout; recovery was at about +20 s. | MG04 |
| Keep a connect timeout in the retry loop and count it in the stall. | A 5 s client connect timeout added 5 s (25,122 ms against recovery at about +20.6 s). | MG04 |
| Relaunch pgbench in a loop around a failover. | All 8 clients aborted 45 to 51 ms after the kill and pgbench exited 2; a relaunch loop recovered with a 2,283 ms gap. | MG05 |
| Replace a lost cell yourself; do not wait for a restart. | Nothing restarted the killed cell in this container: 2 nodes after 45 s, all three runs. Under the operator the containers would run with a Kubernetes restart policy (assumed, not traced in the operator source); the operator itself was not run. | MG03 |
| Test session state under a contended pool before relying on it. | 9 of 9 probes passed with one client, and autocommit and explicit-transaction statements ran on different backend pids. | MG06 |
Evidence
Section titled “Evidence”| Number in this doc | Status | How it was checked |
|---|---|---|
| 17 failovers, 2,216,532 acknowledged writes, 0 lost | measured 2026-10-10 | per-run acked sums (MG05: logged_transactions) against the table read back after recovery, each run’s row count equal on every surviving node and through the gateway; local Docker Desktop, 22 results all pass or info |
| Postgres kill stall 1.1 to 4.2 s (MG02), 1.9 to 6.7 s (MG09) | measured 2026-10-10 | MG02 and MG09, n = 3 each; cause of the spread reasoned from code only |
| Cell kill stall 14.7 to 15.1 s | measured 2026-10-10 | MG03, n = 3, fresh container each run |
| Hung primary 20.0 and 25.1 s, and 20.0 to 56.2 s over six runs | measured 2026-10-10 (main run and two earlier artifacts, all published) | MG04, n = 2 in the main run; the range includes two earlier artifacts |
| Lagging standby 22,265,848 to 23,256,456 bytes behind, never promoted | measured 2026-10-10 | MG08, pg_stat_replication flush lag, n = 3 |
| Cluster stayed at 2 nodes for 45 s | measured 2026-10-10 | MG03 wait after the cell kill, 3 of 3 |
| Gateway 9 of 9 on zone1 and zone2; per-user backends | measured 2026-10-10 | MG06 and MG07, one uncontended client, two roles |
| Gateway holds requests; per-user pools; operator; 2026-06-04 post | documented | the launch post1, read 2026-10-10 through a page-summarising fetch, not tested beyond the measurements above |
| Winning MG04 rounds: recruit 111 to 128 ms (six runs), promote 20,126 to 20,140 ms (the five first-round winners; the 56.2 s run’s retry 9,440 ms); failed rounds’ recruit 20,252 to 20,255 ms | measured 2026-10-10, attributed 2026-10-16 | the multiorch primary.promotion lines in the evidence of all six MG04 runs across the three artifacts |
Timer values, buffer default, 28P01 mapping, dead health-check setting | code read 2026-10-16 | upstream source at the tested commit and the operator, cited per row in Why the windows are what they are; not measured |
No Dockerfile.cluster at v0.1.0 | measured 2026-10-10 | GitHub contents API answered 404 for it and for docker-compose.yml at that ref; release page2 |
The one docs-versus-runtime difference is the gateway-holds-requests sentence against statements failing on the dead primary, described above; the buffer that sentence describes is off by default in the image that was run.
Modules
Section titled “Modules”| Module | Experiment | Test | Artifact |
|---|---|---|---|
| MG01 | multigres | mg01-cluster-facts.ts | run-2026-10-10T01-44-48-951Z |
| MG02 | multigres | mg02-kill-postgres.ts | run-2026-10-10T01-44-48-951Z, run-2026-10-10T01-19-34-842Z, run-2026-10-10T01-06-52-479Z |
| MG03 | multigres | mg03-kill-cell.ts | run-2026-10-10T01-44-48-951Z |
| MG04 | multigres | mg04-freeze-primary.ts | run-2026-10-10T01-44-48-951Z, run-2026-10-10T01-19-34-842Z, run-2026-10-10T01-06-52-479Z |
| MG05 | multigres | mg05-pgbench-failover.ts | run-2026-10-10T01-44-48-951Z |
| MG06 | multigres | mg06-feature-matrix.ts | run-2026-10-10T01-44-48-951Z |
| MG07 | multigres | mg07-per-user-pools.ts | run-2026-10-10T01-44-48-951Z |
| MG08 | multigres | mg08-lagging-standby.ts | run-2026-10-10T01-44-48-951Z, run-2026-10-10T01-36-34-662Z |
| MG09 | multigres | mg09-idle-kill.ts | run-2026-10-10T01-44-48-951Z |
| S01 | pooler-semantics | s01-feature-matrix.ts | none published for the MG06 re-run |
The experiment’s RUNLOG holds the per-run figures; its raw evidence directory is gitignored.
Related docs
Section titled “Related docs”- Supabase disaster recovery tiers: the managed-project tiers this is the self-run counterpart of.
- pgmig: moving a database between Postgres endpoints with logical replication.
- Supabase read replicas: the managed read-scaling feature; its docs describe no promotion path (doc-read 2026-10-08).
References
Section titled “References”-
Supabase, “Multigres v0.1 Alpha: an operating system for Postgres,” Supabase Blog, 2026-06-04. https://supabase.com/blog/multigres-v0-1-alpha ↩ ↩2 ↩3 ↩4 ↩5
-
Multigres, “v0.1.0,” GitHub Releases. https://github.com/multigres/multigres/releases/tag/v0.1.0 ↩ ↩2
-
Multigres, source tree at commit e3cbdbbb (2026-10-09), read 2026-10-16. https://github.com/multigres/multigres/tree/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73 ↩
-
Multigres, multigres-operator source tree at commit 0bd97fe7, read 2026-10-16. https://github.com/multigres/multigres-operator/tree/0bd97fe77495503c17b243686f2c776f81ac3730 ↩
-
Multigres,
go/common/timeouts/rpc.go, line 47. https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/go/common/timeouts/rpc.go#L47 ↩ -
Multigres,
multipooler/internal/manager/manager.goline 353 andpostgres_monitor.golines 1255-1257. https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/go/services/multipooler/internal/manager/manager.go#L353 and https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/go/services/multipooler/internal/manager/postgres_monitor.go#L1255-L1257 ↩ -
Multigres, “fix(multiorch): refresh health before recheck so appointment trusts the analyzer,” PR #1545, open as of 2026-10-16. https://github.com/multigres/multigres/pull/1545 ↩
-
Multigres,
multiorch/recovery/analysis/availability_policy.go, lines 95-104. https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/go/services/multiorch/recovery/analysis/availability_policy.go#L95-L104 ↩ -
Multigres,
multiorch/consensus/leader_fitness.go, line 162. https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/go/services/multiorch/consensus/leader_fitness.go#L162 ↩ -
gRPC,
clientconn.goat v1.81.1, line 63; the winner’s wait for every Promote ismultiorch/consensus/rule_change.golines 180-193. https://github.com/grpc/grpc-go/blob/v1.81.1/clientconn.go#L63 and https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/go/services/multiorch/consensus/rule_change.go#L180-L193 ↩ -
Multigres,
go/common/pgprotocol/server/startup.go, lines 855-872. https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/go/common/pgprotocol/server/startup.go#L855-L872 ↩ -
Multigres,
multigateway/buffer/config.go, lines 39-44. https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/go/services/multigateway/buffer/config.go#L39-L44 ↩ -
Multigres, multigres-operator
pkg/resolver/cell.go, lines 197-206. https://github.com/multigres/multigres-operator/blob/0bd97fe77495503c17b243686f2c776f81ac3730/pkg/resolver/cell.go#L197-L206 ↩ -
Multigres, “Failover buffering,” design note at the tested commit. https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/docs/query_serving/failover_buffering.md ↩
-
Multigres,
multiorch/config/config.go, line 264. https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/go/services/multiorch/config/config.go#L264 ↩ -
Multigres,
docker/cluster-entrypoint.sh, lines 220-230. https://github.com/multigres/multigres/blob/e3cbdbbb0b94453ca2ec43c9c40c05c98ed7bb73/docker/cluster-entrypoint.sh#L220-L230 ↩