eventstore icon indicating copy to clipboard operation
eventstore copied to clipboard

Trim stream to version

Open drteeth opened this issue 1 year ago • 2 comments

Implement stream trimming:

Delete earlier events in a stream up to a given version

drteeth avatar Jan 14 '25 03:01 drteeth

Changes look fine to me. I'm curious what @drteeth and @cdegroot would think about following a process where PRs for net-new functionality like this should always have an accompanying ADR in the new ADR Repo?

jwilger avatar Jan 15 '25 16:01 jwilger

This misses what to do with event handlers that have not yet seen the events that are about to deleted, and it doesn't take into account what to do with events linked into other streams.

Moving the discussion to ADR seems like a good idea

drteeth avatar Jan 16 '25 15:01 drteeth