Status
pgetcd is in Release candidate status. On 2026-11-08 the project approved the MVP goal, which makes the release candidate v0.1.0-rcN the only current completion target and moves P3 high availability and the native runtime work out of the current scope.
Current candidate
Fixed since rc1
- Readiness under load (commits
fad4d2f,db0577b): the once-per-second readiness check now uses a slot reserved for it. Client requests that find every publication slot busy wait up to 5 s instead of failing at once, so concurrency at or abovepool_sizeno longer makes the gateway reporttenant is not ready. The gateway logs each readiness change. etcdctl endpoint health(commit81691bc): theMaintenance.Alarmlist query returns an empty list, soendpoint healthreports healthy. Alarm activation and deactivation still returnUnimplemented.
Verification results
The v0.1.0-rc2 verification ran on 2026-11-08 on a clean checkout of commit 81691bc, following the lean checklist of the MVP goal. The environment was a PostgreSQL 18.6 container on Linux amd64 (Ubuntu 26.04). The gateways used the default pool_size = 32.
| Check | Platform | Result | Detail |
|---|---|---|---|
go build ./cmd/..., go vet ./..., go test ./... | amd64 | Pass | 0 vet findings; 5,176 PASS / 0 FAIL / 49 SKIP (skips are integration tests that need dedicated fixtures) |
| Extension build and SQL suites | amd64 | Pass | 12 P1 SQL suites, the P2 KV output suite and 1,001 persistent Tail calls |
| Watch and gateway race integration | amd64 | Pass | 89 PASS; the wake and polling fallback cases pass |
Official etcdctl 3.6.15 / 3.7.2 probes | amd64 | Pass | 50 PASS / 0 FAIL, including endpoint health |
| Few-minute concurrency test | amd64 | Pass, one known issue | 100,000 puts at 64 clients (171 s), 100,000 puts at 128 clients (168 s), 50,000 ranges at 128 clients (88 s): 0 refused requests and 0 readiness withdrawals; a long-lived Watch stayed connected, but its events lagged (known issue 1) |
| Primary switchover smoke | amd64 | Pass | Crash-stop the primary, promote the synchronous standby, restart the gateways in 1.03 s; 52/52 acknowledged writes kept |
| Package install smoke | amd64, arm64 | Pass | All 4 tar.gz archives install on stock postgres:18.6 and pass CREATE EXTENSION, the readiness check and a read/write test |
| Kubernetes conformance | — | Outside the MVP verification scope | Reference: on rc1 the k8s.io/apiserver 0.36.4 and 0.37.1 storage probes passed 65 tests per version |
The P1 mixed model audit (100,000 calls) passed on rc1 and is no longer part of the checklist. Releases keeps the full rc1 results.
The primary switchover smoke test checks only the manual operator procedure: promote the synchronous standby, point PGETCD_DSN at it and restart the gateway. pgetcd v0.1.0-rc2 does not provide automatic fencing or response consistency during a switchover.
Performance numbers
Measured once on v0.1.0-rc2 (commit 81691bc, Linux amd64, 2026-11-08) with two gateways (default pool_size = 32), one PostgreSQL 18.6 primary and one synchronous standby on the same host, using the benchmark tool from etcd v3.6.15. These are observations, not an SLA.
| Workload | Throughput (ops/s) | p50 latency | p99 latency | Refused |
|---|---|---|---|---|
Put 256 B, 1 client | 628 | 1.6 ms | 2.7 ms | 0 |
Range (linearizable), 1 client | 734 | 1.3 ms | 2.4 ms | 0 |
Put 256 B, 64 clients | 585 | 72 ms | 538 ms | 0 |
Put 256 B, 128 clients | 595 | 185 ms | 586 ms | 0 |
Range (linearizable), 128 clients | 569 | 231 ms | 248 ms | 0 |
Known issues in v0.1.0-rc2
| # | Issue | Impact and workaround |
|---|---|---|
| 1 | Watch events lag under sustained heavy writes | Each _tail_v2 call of the Watch reader reads one revision, in a transaction that takes the metadata lock and waits for synchronous COMMIT, and it shares slots with client requests. Near the throughput limit the reader falls behind; the connection stays up and catches up when writes drop. Measured on 81691bc: after 30,000 puts in 52 s at 128 clients, the Watch delivered the last event 24 s later. Idle Watches deliver at once. |
| 2 | Throughput is about 600 ops/s, reads included | Reads also take the etcd.meta lock, write a publication barrier and wait for synchronous COMMIT. Requests beyond the publication slots wait up to 5 s and receive ResourceExhausted only if still waiting. |
| 3 | Extension packages require glibc 2.38+ | Prebuilt extension tarballs target Debian 13 / Ubuntu 24.04+ and PostgreSQL 18. Older distributions (EL8/EL9, Debian 12, Ubuntu 22.04) must build from source; there are no RPM or DEB packages yet. |
| 4 | Kubernetes conformance is outside the MVP verification scope | The upstream storage probe on rc1 passed 65 tests per version and serves as a reference only. |
| 5 | Historical SQL/P2 test drivers need path patches | tests/sql/run-p1-native.py still checks the old P1 2 MiB output limit and the macOS .dylib suffix, and the P2 driver hard-codes Homebrew paths. |
| 6 | Stale startup banner | The startup log line still prints "P1 incomplete". |
| 7 | Narrow arm64 coverage | On rc2, linux/arm64 ran only the package build and install smoke. On rc1 it also ran the Go unit tests and the extension SQL suites. |
Previous frozen candidate (2026-10-08)
Before the Go 1.27.3 root dependency refresh, the frozen candidate of 2026-10-08 (0.1.0-p1, Go 1.27.1, PostgreSQL 18.6) completed the initial P0 (17 items), P1 (22 groups) and P2 (20 groups) acceptance gates:
- P1 mixed model audit:
1,000,000mixed KV and Lease operations with an independent model and two-stream Watch audit on one primary. - P2 Kubernetes storage suites:
1,219 PASS / 0 FAIL / 8 SKIPon1.36.4and1,196 PASS / 9 FAIL / 4 SKIPon1.37.1(all 9 failures in1.37.1were in declared unsupportedRangeStreamand physicalCompacttests). - P2 selected Kubernetes conformance:
446passed cases on1.36.4and462passed cases on1.37.1, with 0 runtime skips.
Those results define the MVP API scope but do not certify the newer v0.1.0-rc2 binary.
After the MVP
The MVP goal defers these items:
- HA support: its scope and verification will be defined when it is needed. The earlier design material stays in the HA roadmap and Recovery design.
- MVP+1 HTTP/JSON gateway and Patroni: add the HTTP/JSON paths that Patroni’s
etcd3client uses, and validate Patroni with pgetcd hosted on a separate PostgreSQL cluster. RangeStreamand other unimplemented RPCs, a dedicated security review, and the shared Mimus runtime.- The frozen native research line is kept as material only; see The frozen native line.
