handedOff

open suspend fun handedOff(partition: Int)

This node handed partition off: the commands it ran as the partition's owner are drained, and those it runs for it from now on run without the lease (ExecutionLease.NOT_HELD). A backend that gives the owner its sequences ahead finalizes those it did not give out, so the next owner's tail does not wait at them; others have nothing to do, the default. Called once per hand-off, before the lease is released; a failure is logged and the hand-off goes on. A node that stops without handing off (a crash, a lost lease) does not call it: its sequences are then resolved by the backend's tail, as before.