HandoffOptions
How a node hands its own commits to its tails in memory, always: the constants of the hand-off, not settings:
capacity: the most entries one tail holds that it has not taken yet; a tail that falls further behind drops what comes next and reads the store instead, so the append path never waits for it;
gapWait: the longest a tail waits for a missing sequence that an append of this node still in flight may hold, before it reads the store from its position. Appends hand their commits over in the order their callers return, so a sequence is often missing for a moment, and a pause of the process (a GC, a starved CPU) stretches that moment past any timer. So a tail does not wait on the clock: it waits for the appends that may hold the missing sequence, those in flight when the gap appeared, and reads the store as soon as every one of them returned without it (another node's append during a hand-off; an unknown outcome). The wait only bounds an append that does not return: 1 s, the longest poll interval, which bounds how late another node's entries are read anyway;
probeInterval: how late a tail may see an entry another node appended through a block or reservation this node has not seen: the log's longest poll interval (
wow.log.max-poll-interval). The node probes all its tails at once every half of it (HandoffProber);backstopInterval: how often the node also reads the exact heads of its tails' partitions, for what the probe's answer may leave out (an entry appended into a block already seen, by a node that went on writing after the partition moved): 10 s, the node sampler's cadence, at which one batched read is noise, or the probe interval when that is longer;
scheduledProbes: how long after it opens a tail checks the head every probeInterval whatever this node commits (ObservedEvent.TailRead.Reason.SCHEDULED). A tail opens as its node acquires the partition, while other nodes may still append there without the lease, their routes not naming the new owner yet; this node keeps committing, so without it the first probe could wait for a pause, or for the end of its block. Zero, the default, for none: a node without a cluster (me.ahoo.wow.runtime.node.handoffOf sets it for one).
Fields may be added: Wow builds it from the host's configuration, so the constructor is internal to Wow.