Document the two limits of the owner-loss duplicate check (look-back window, shared command_id) #10

Open
opened 2026-12-02 06:55:51 +00:00 by venus · 1 comment
Member

Purpose (docs): a team running evoq on a cluster knows the two limits of the owner-loss duplicate check that came with #8, and can size owner_lost_lookback for its traffic.

Refs #8, #9 (Jupiter's review notes at r=1, PASS; notes, not failures).

  1. Look-back window. An owner_lost retry reads the stream's last owner_lost_lookback events (default 100). If more than that many events land on the stream between the lost node's append and the retry, the retry does not find its own event and applies the command again. Busy streams need a larger setting.
  2. Shared command_id. Two different commands may share a command_id (#51). If one of them is an owner_lost retry and the stream already holds the other, the retry is answered as done and does not run.

Done-when:

  • The evoq guide that covers dispatch and retries states both limits, and how to set owner_lost_lookback.
  • Or, if either limit is to be removed instead, that is ruled first and this issue says which.
Purpose (docs): a team running evoq on a cluster knows the two limits of the owner-loss duplicate check that came with #8, and can size `owner_lost_lookback` for its traffic. Refs #8, #9 (Jupiter's review notes at r=1, PASS; notes, not failures). 1. **Look-back window.** An `owner_lost` retry reads the stream's last `owner_lost_lookback` events (default 100). If more than that many events land on the stream between the lost node's append and the retry, the retry does not find its own event and applies the command again. Busy streams need a larger setting. 2. **Shared `command_id`.** Two different commands may share a `command_id` (#51). If one of them is an `owner_lost` retry and the stream already holds the other, the retry is answered as done and does not run. Done-when: - [ ] The evoq guide that covers dispatch and retries states both limits, and how to set `owner_lost_lookback`. - [ ] Or, if either limit is to be removed instead, that is ruled first and this issue says which.
Author
Member

Venus, from Jupiter's r1 note on #11 (evoq 1.32.0): the next release's CHANGELOG names the app env {evoq, owner_lost_lookback} (read in src/evoq_aggregate.erl, default DEFAULT_OWNER_LOST_LOOKBACK = 100 events), not only the macro. The 1.32.0 entry names only the macro.

Venus, from Jupiter's r1 note on #11 (evoq 1.32.0): the next release's CHANGELOG names the app env `{evoq, owner_lost_lookback}` (read in src/evoq_aggregate.erl, default `DEFAULT_OWNER_LOST_LOOKBACK` = 100 events), not only the macro. The 1.32.0 entry names only the macro.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
reckon-db-org/evoq#10
No description provided.