Skip to content

Status

Current candidate, its test results, known issues and what remains for the MVP.

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

Status
Release candidate
Local tag
v0.1.0-rc2 on commit 81691bc (branch main); the verification ran on this commit on 2026-11-08
Superseded
v0.1.0-rc1 on commit 250df4c
Publication state
Local tag and local tarballs only; the repository has no remote and nothing is published
Toolchain and base
Go 1.27.3 (CGO_ENABLED=0), etcd API/client 3.7.2, gRPC 1.84.0, pgx 5.11.0, PostgreSQL 18.6
SQL ABI and schema
Product version 0.1.0, extension 0.1.0, SQL ABI 1, schema 2, advertised etcd version 3.6.0

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 above pool_size no longer makes the gateway report tenant is not ready. The gateway logs each readiness change.
  • etcdctl endpoint health (commit 81691bc): the Maintenance.Alarm list query returns an empty list, so endpoint health reports healthy. Alarm activation and deactivation still return Unimplemented.

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.

CheckPlatformResultDetail
go build ./cmd/..., go vet ./..., go test ./...amd64Pass0 vet findings; 5,176 PASS / 0 FAIL / 49 SKIP (skips are integration tests that need dedicated fixtures)
Extension build and SQL suitesamd64Pass12 P1 SQL suites, the P2 KV output suite and 1,001 persistent Tail calls
Watch and gateway race integrationamd64Pass89 PASS; the wake and polling fallback cases pass
Official etcdctl 3.6.15 / 3.7.2 probesamd64Pass50 PASS / 0 FAIL, including endpoint health
Few-minute concurrency testamd64Pass, one known issue100,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 smokeamd64PassCrash-stop the primary, promote the synchronous standby, restart the gateways in 1.03 s; 52/52 acknowledged writes kept
Package install smokeamd64, arm64PassAll 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 scopeReference: 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.

Important

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.

WorkloadThroughput (ops/s)p50 latencyp99 latencyRefused
Put 256 B, 1 client6281.6 ms2.7 ms0
Range (linearizable), 1 client7341.3 ms2.4 ms0
Put 256 B, 64 clients58572 ms538 ms0
Put 256 B, 128 clients595185 ms586 ms0
Range (linearizable), 128 clients569231 ms248 ms0

Known issues in v0.1.0-rc2

#IssueImpact and workaround
1Watch events lag under sustained heavy writesEach _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.
2Throughput is about 600 ops/s, reads includedReads 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.
3Extension 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.
4Kubernetes conformance is outside the MVP verification scopeThe upstream storage probe on rc1 passed 65 tests per version and serves as a reference only.
5Historical SQL/P2 test drivers need path patchestests/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.
6Stale startup bannerThe startup log line still prints "P1 incomplete".
7Narrow arm64 coverageOn 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,000 mixed 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 SKIP on 1.36.4 and 1,196 PASS / 9 FAIL / 4 SKIP on 1.37.1 (all 9 failures in 1.37.1 were in declared unsupported RangeStream and physical Compact tests).
  • P2 selected Kubernetes conformance: 446 passed cases on 1.36.4 and 462 passed cases on 1.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 etcd3 client uses, and validate Patroni with pgetcd hosted on a separate PostgreSQL cluster.
  • RangeStream and 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.
Scan to open this page
https://mimus.pgsty.com/docs/etcd/status/