Document the two limits of the owner-loss duplicate check (look-back window, shared command_id) #10
Loading…
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?
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_lookbackfor its traffic.Refs #8, #9 (Jupiter's review notes at r=1, PASS; notes, not failures).
owner_lostretry reads the stream's lastowner_lost_lookbackevents (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.command_id. Two different commands may share acommand_id(#51). If one of them is anowner_lostretry and the stream already holds the other, the retry is answered as done and does not run.Done-when:
owner_lost_lookback.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, defaultDEFAULT_OWNER_LOST_LOOKBACK= 100 events), not only the macro. The 1.32.0 entry names only the macro.