event-sourcing-conflates-two-id-spaces

Status: IN

Event sourcing read operations conflate two ID spaces: projections assume contiguous stream-scoped IDs for catch-up arithmetic, while state reconstruction filters on global event_id, and sequence numbers survive compaction without renumbering — creating potential mismatches when events are removed or compacted.

Justifications

Stream-local and global ID spaces are used interchangeably across different read paths with no translation layer

Depends on (SL): projection-catch-up-assumes-sequential-ids, reconstruct-state-up-to-is-global-id, es-event-ids-are-stream-scoped, cdc-log-sequence-numbers-survive-compaction

Depended on by

JSON