# Status

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

---

LLMS index: [llms.txt](/llms.txt)

---

`pgetcd` is in **Release candidate** status. On 2026-11-08 the project approved the [MVP goal](/docs/etcd/design/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 {#candidate}

| Item | Detail |
| --- | --- |
| 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` |
{.fields}

## Fixed since rc1 {#fixed}

- **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 {#regression}

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](/docs/etcd/design/mvp-goal/#checklist). 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 |
{.wide}

The P1 mixed model audit (100,000 calls) passed on `rc1` and is no longer part of the checklist. [Releases](/docs/etcd/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 {#performance}

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` |
{.wide}

## Known issues in v0.1.0-rc2 {#known-issues}

| # | 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. |
{.wide}

## Previous frozen candidate (2026-10-08) {#frozen-candidate}

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 {#roadmap}

The [MVP goal](/docs/etcd/design/mvp-goal/#deferred) 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](/docs/etcd/design/ha-roadmap/) and [Recovery design](/docs/etcd/design/recovery/).
- **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](/docs/etcd/design/native-line/).

---

Backlinks:

- [Architecture](/docs/etcd/architecture/)
- [Compatibility](/docs/etcd/compatibility/)
- [The frozen native line](/docs/etcd/design/native-line/)
- [Status review, 2026-11-08](/docs/etcd/design/review-2026-11-08/)
- [Runtime boundary](/docs/etcd/design/runtime-boundary/)
- [Build from source](/docs/etcd/operations/build/)
- [Troubleshooting](/docs/etcd/operations/troubleshooting/)
- [Releases](/docs/etcd/releases/)
