# Upgrade 2.74.20

Stop replica before primary. Overlay engine files only. Do not copy testdb.bin. Do not rebuild host01 CRM indexes.

New in this train:

- Stored `pgw.n=0` is a live count, not a miss. Native `COUNT PREFIX` of `pgw.r.` reads `pgw.n` before walking testdb.idx.
- analog `SELECT … LIMIT n` and `SCAN PREFIX` GET from `pgw.i` instead of hashing the whole named store.
- `WHERE pk IN (…)` (and `COUNT(*) … IN`) GET each PK (≤256). analog ≠ native Postgres.
- `SCANPK` binary-searches a sorted `.u64` pk file. A one-id range is a point GET.

Leftover EXTERNAL: CPU pin, io_uring, native arena, TPC, Redis replacement. analog ≠ native Postgres. certifiedClaim stays false.
