Skip to content

FEATURE: Roll back a catch-up if an exception escapes - #14

Merged
bwaidelich merged 1 commit into
mainfrom
feature/store-rollback
Nov 3, 2026
Merged

bwaidelich merged 1 commit into
mainfrom
feature/store-rollback

Conversation

@bwaidelich

Copy link
Copy Markdown
Owner

An exception that escaped a catch-up, for example a deadlock, left the transaction of the store open. Later runs on the same connection reported processed events without persisting them.

The engine now rolls back and rethrows, and restores its processing state on every exit path. Changes that are already committed are kept.

BREAKING: Implementations of SubscriptionStore have to add rollback().

An exception that escaped a catch-up, for example a deadlock, left the
transaction of the store open. Later runs on the same connection reported
processed events without persisting them.

The engine now rolls back and rethrows, and restores its processing state
on every exit path. Changes that are already committed are kept.

BREAKING: Implementations of SubscriptionStore have to add rollback().
@bwaidelich
bwaidelich merged commit dd02522 into main Nov 3, 2026
5 checks passed
@bwaidelich
bwaidelich deleted the feature/store-rollback branch November 3, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant