Skip to content
quarry Check-in [9781c03cea]
Login

Check-in [9781c03cea]

Overview
Comment:rfcs: external NATS shipped, retention correction, trio status
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 9781c03cea720a498b1dd61a098c7490175ebd68305ae25a74205f26afdfd118
User & Date: dmestas on 2026-08-16 03:49:28.000
Other Links: manifest | tags
Context
2026-08-16
04:06
reindex: --nats support for multi-node cluster rebuild

reindex was embedded-only, so a node's index could not be rebuilt in an external-NATS deployment (the durable position and shared cursor live in NATS, outside a node's --data). --nats routes reindex through the shared plane; the reset republishes the census that every node's fold absorbs. Validated on Linux/hetzner over external NATS. check-in: 87282e7532 user: dmestas tags: trunk

03:49
rfcs: external NATS shipped, retention correction, trio status check-in: 9781c03cea user: dmestas tags: trunk
03:48
scale-out: external NATS + multi-node fan-out (trio part 1)

events.Connect joins an external NATS so N nodes share one plane; --nats selects it (embedded stays the single-node default). Retention switched work-queue -> limits+cap: work-queue load-balanced one copy across nodes, leaving each index partial; limits fans out to per-node durables (name now carries a hashed node id) while MaxBytes/MaxAge keep disk bounded. Lease refusals surface as 503 (ops.ErrUnavailable), not 500. Verified live: two nodes on one external NATS + shared store, each folds the full store, the leased node writes while the other 503s and still folds the write cross-node. check-in: 89e4991bbf user: dmestas tags: trunk

Changes