[eskit] DLQ Replay should be idempotent or use optimistic locking #33
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/ideas#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Architectural Concern
The DLQ Replay fix (take exclusive lock, delete before replay, put back on failure) works but has a subtle issue: if
replayFnfails, the entry is put back — but its position in theorderslice may have changed if other entries were added/deleted during the replay.For production DLQ implementations (SQLite/Postgres), consider:
replayingstatus flag + timestamp to prevent concurrent replayFound during red team audit 2026-02-28.