Commit Graph
9 Commits
Author SHA1 Message Date
mats ccb43808fa stuff 2026-08-23 13:43:40 +02:00
mats bd81f4ff54 update 2026-07-26 13:01:07 +02:00
mats 8db09e3c6a test 2026-07-01 10:41:21 +02:00
mats d04679daf5 support datafields in projection 2026-06-30 10:31:31 +02:00
mats 2a66754f9e more platform 2026-06-29 12:35:32 +02:00
matsandClaude Opus 4.8 8a71e32149 catalog: log ProjectionStore delta applies + greppable snapshot line
Restore the per-batch visibility lost in the cart migration: applyDelta now logs
'delta applied epoch=N (+U/-D, overlay=X)', and the snapshot swap line includes
'snapshot' so it's findable. Deltas were applying silently, which read as 'nothing
happened' on a bulk catalog update (only the debounced snapshot swap was logged).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 21:42:46 +02:00
matsandClaude Opus 4.8 8b454bccac platform/catalog: generic ProjectionStore[T] consumer + race-free holder; finish C1
- Generic SnapshotWriter[T]/SnapshotReader[T] over a value-agnostic raw layer;
  SnapshotHolder[T] now RWMutex-guards munmap vs in-flight Get (race-free swap,
  TestSnapshotHolder_SwapRace) — the drain grace is now just close-batching.
- ProjectionStore[T]: snapshot begin|chunk|end assembly → atomic swap, epoch-gated
  delta overlay, tombstones, atomic epoch sidecar (ordered before the swap),
  cold-start reopen, mandatory ProjectionTransform[T]. Future-epoch deltas are
  dropped by contract (recover via next snapshot), not buffered.
- Shared bus-framing constants so producer + consumer agree.
- Bump slask-finder / go-cart-actor / backoffice pointers; refresh status.md +
  catalog-projection.md to the finished state.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 21:07:39 +02:00
mats 5a3ffcb6bc ref for projection snapshots 2026-06-28 18:41:31 +02:00
mats 21bcb63440 platform 2026-06-28 17:52:49 +02:00