private Iterable<AbortedTxnWithPosition> iterable() {
        return iterable(() -> ByteBuffer.allocate(AbortedTxn.TOTAL_SIZE));
    }
Do a basic sanity check on this index to detect obvious problems.

@throws CorruptIndexException if any problems are found.
storage/src/main/java/org/apache/kafka/storage/internals/log/TransactionIndex.java