discardLogPrefix_isIdempotentAndToleratesLowFloor
The other side of the #1221 window: once RaftStorage.discardLogPrefix does run it removes everything at or below its floor and leaves a contiguous suffix — and, per its contract, it is idempotent and tolerates a floor below the first retained entry (the repeat a node performs after recovering from a crash inside the window).