dropAllOwn

fun dropAllOwn(self: ReplicaId): Pair<Rga<V>, Patch<Rga<V>>>?

Every id self has minted dropped, held here or not: self's floor entry raised to seqHighWater, purging every op of self's this state holds and every one that returns. null when the floor is already there.

For a caller forgetting everything it ever minted. dropWindowPastUnheld cannot express that when the newest of self's seqs are held nowhere: its walk crosses a hole only below a seq the call drops, so a hole above every held seq stays open, and its ops are admitted when they return. A state raised past a part of its log it could not read has exactly that hole.

Raising self's own entry that far is sound even past seqs never minted, which a high-water raised by advanceClock may include: self mints only past seqHighWater, and the floor keeps it there. The floor's costs are dropWindow's: an op another author anchored on one of these ids re-roots to RgaId.HEAD, and only self's entry moves, so a foreign author's dots are left to dropWindow.

Return

as dropWindow, or null when nothing rises.