read(_currentAddress, recordSize);
final int pageType = JournalRecord.getByte(_readBuffer, PA.OVERHEAD + Buffer.TYPE_OFFSET);
if (pageType != Buffer.PAGE_TYPE_LONG_RECORD) {
throw new CorruptJournalException("Long record chain contains invalid page type " + pageType
+ " for page " + page + " at " + pn.toStringJournalAddress(this) + " in transaction at "
+ addressToString(from, timestamp));
}
final int segmentSize = Math.min(remainingSize, payloadSize - Buffer.HEADER_SIZE);