Skip to content

MVP goal (v0.1.0)

The approved MVP scope, the lean release checklist and the verification rule for pgetcd v0.1.0.
Note

Approved by the user on 2026-11-08. It replaces the 0119 completion objective and “P3 OPEN” as the current completion condition, and applies to the v0.1.0-rcN candidates; the current one is v0.1.0-rc2 (commit 81691bc). Distilled from companion record 0357, which is kept as history and no longer updated. The 2026-11-08 status review explains why the goal changed.

Completion condition

The only current completion condition is the MVP release candidate v0.1.0-rcN. When it is reached, stop and report to the user; do not start a later phase automatically. The 0119 objective and P3 remain as material for later decisions.

Shared principles

pgredis, pgetcd and pgsilo use the same principles.

  • Scope freeze. Do only the listed work items and fixes for problems that block the MVP. Do not add features, test tiers, evidence formats or infrastructure.
  • Records. At most one short work log per working day. Status pages state the current state and known issues, not a running diary.
  • Authorization. Push, remote creation, package or image publication and site deployment each need separate user authorization. Local branch commits are allowed.
  • Performance. Publish measured baseline numbers and the test environment. There is no SLA, and performance does not block the release.

Verification

Keep verification proportionate to an MVP: run only functional and smoke tests that finish within minutes, and finish the whole release checklist within one or two hours. Do not run the following, and do not list them as post-MVP gates: long stability or endurance runs, full instrumentation matrices, repeated benchmark rounds, conformance tests that need a large external environment rebuilt, and diagnostic batches that chase the root cause of rare intermittent problems. If one is needed later, the user asks for it separately.

  • Run the checklist once on the frozen candidate; during development run only the items a change affects. Record each item as pass, fail or not applicable, with the command and where the raw output is kept.
  • Fix each failure, or list it as a known issue and state whether it blocks the release; the user decides.
  • Dropped: dual independent review, full revalidation because “older results do not certify changed source bytes”, immutable evidence epochs, paired counterexamples, two-site archive readback and tests of the test infrastructure.
  • Kept: no hidden or silently waived failures, and the correctness invariants: publish a response only after synchronous COMMIT succeeds, never replay an unknown COMMIT, keep the permission boundaries. A result belongs only to the candidate that produced it.

Scope

Supported in v0.1.0:

  • One PostgreSQL 18 primary; one gateway process per tenant; clients connect with mTLS.
  • The API accepted in P2: Range, Put, DeleteRange, Txn, Compact (logical only), LeaseGrant, LeaseRevoke, LeaseTimeToLive, LeaseLeases, LeaseKeepAlive, Watch, MemberList and Status. From v0.1.0-rc2 the Alarm list query is also supported, so etcdctl endpoint health works.

The P2 results belong to the frozen candidate of 2026-10-08 and only define the API scope; each release candidate runs its own checklist.

Target use cases:

  • Applications that use the etcd Go clientv3 or etcdctl.
  • Kubernetes apiserver storage for small clusters or development and test clusters.

Not supported:

  • HA semantics. After a PostgreSQL primary switchover, the operator restarts the gateway. There is no fencing and no response-consistency promise during the switchover.
  • Other RPCs. RangeStream, physical Compact, Auth/RBAC, membership changes, other Maintenance RPCs (Snapshot, Defragment, Hash, alarm activation) and Lock/Election.
  • An HTTP/JSON gateway, and therefore Patroni. Patroni’s etcd3 client uses the HTTP/JSON gateway. This moves to MVP+1. When pgetcd later serves as a Patroni DCS, a different PostgreSQL cluster must host it: a Patroni cluster that hosts its own DCS creates a circular dependency during failover.
  • Replica reads, more than 8 tenant databases per PostgreSQL instance, in-place upgrade migration and performance SLAs.

Work items

ItemOutcome
Freeze the P3 native line; keep its candidate trees as research materialDone; see The frozen native line
Commit the root source; a clean checkout must build the gateway and extension and pass the unit testsDone (f01c777, 4241ec7, b3d0bd2)
Clear go test and go vet; isolate P3-only tests; confirm the default gateway path does not enable P3 componentsDone (ff6f7e1 through 7e43446)
Use the root Go 1.27.3 source as the release baseline and run the checklist on LinuxDone for v0.1.0-rc1 and v0.1.0-rc2
Version 0.1.0, Linux amd64/arm64 gateway and PostgreSQL 18 extension archives, scope page, local tagDone; v0.1.0-rc2 on 81691bc

Release checklist

ItemContent
Go build and checksgo build ./cmd/..., go test ./..., go vet ./...
ExtensionExtension build and SQL test suites
Watch and gatewayWatch/gateway race integration tests on a real PostgreSQL server
Official clientsetcd 3.6 and 3.7 official client probes
Primary switchover smokePromote a new primary manually, restart the gateway, then confirm that clients reconnect and committed data is intact; this checks the operating requirement only
PerformanceOne set of basic numbers, run once and recorded only

The P1 mixed model audit (100,000 calls) passed on v0.1.0-rc1 and is no longer required. Kubernetes conformance is outside the MVP verification scope; the upstream k8s.io/apiserver storage probe passed 65 tests each for 1.36 and 1.37 on v0.1.0-rc1 and serves as a reference.

Deferred

  • HA support: define its scope and verification when it is needed.
  • HTTP/JSON gateway and Patroni validation (MVP+1).
  • RangeStream and other unimplemented RPCs.
  • A dedicated security review.
  • The shared Mimus runtime.
Scan to open this page
https://mimus.pgsty.com/docs/etcd/design/mvp-goal/