Skip to content

Test the at-least-once path of the dedup state machine - #32

Merged
thomasdarimont merged 1 commit into
mainfrom
gh-29-dedup-at-least-once
Oct 5, 2026
Merged

thomasdarimont merged 1 commit into
mainfrom
gh-29-dedup-at-least-once

Conversation

@thomasdarimont

Copy link
Copy Markdown
Collaborator

Two receivers on one JDBC store: an instance that dies after its handler and before recording the success hands the SET to the other after the lease, which handles it again with the same idempotency key; an abandoned claim is taken over; concurrent claims and concurrent take-overs yield exactly one NEW. On H2, PostgreSQL and MySQL.

Closes #29

Two receivers on one JDBC store: an instance that dies after its
handler and before recording the success hands the SET to the other
after the lease, which handles it again with the same idempotency key;
an abandoned claim is taken over; concurrent claims and concurrent
take-overs yield exactly one NEW. On H2, PostgreSQL and MySQL.

Closes #29

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
@thomasdarimont
thomasdarimont merged commit d8fc564 into main Oct 5, 2026
10 checks passed
@thomasdarimont
thomasdarimont deleted the gh-29-dedup-at-least-once branch October 5, 2026 23:04
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.

Test the at-least-once path of the dedup state machine

1 participant