mirror of
https://github.com/block/buzz.git
synced 2026-10-28 13:01:10 +00:00
LinkState carries an epoch that advances whenever the Redis event link connects, drops, or skips a message it cannot decode. confirm_topic waits until Redis has confirmed a retained topic and returns the epoch it was confirmed on. Sync uses both to register live interest before its snapshot and to detect possible loss. Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz> Signed-off-by: Logan Johnson <loganj@squareup.com>