void updateParentDir(File dir) {
        log.updateParentDir(dir);
        lazyOffsetIndex.updateParentDir(dir);
        lazyTimeIndex.updateParentDir(dir);
        txnIndex.updateParentDir(dir);
    }
Update the directory reference for the log and indices in this segment. This would typically be called after a
directory is renamed.
storage/src/main/java/org/apache/kafka/storage/internals/log/LogSegment.java