theLogSurvivesAReopenWhole
The log, whole and in order, on the far side of a restart — including the filtered read the engine actually restores from.
The fixture is logEntryIndexAndTerm_roundTripAtPlausibilityCeiling's, deliberately: that property can be satisfied by a live field holding the entries, so it says nothing about the column they were written to. Here the same values cross the encode/decode boundary, which is where a 32-bit index, a Double term, or a SELECT with no ORDER BY actually bites — RaftLogMath resolves entryAt(i) positionally, so a restored log that is short, reordered, or gapped returns the wrong entry for every lookup above the defect, with no error anywhere.
The entries(fromIndex = top) read is the shape RaftEngine's own restore takes on a compacted node (entries(snapshotIndex + 1)), and top is past Int.MAX_VALUE, so an adapter whose reopened handle rebuilds its index through a 32-bit comparison fails here and nowhere else.