public void updateMapEndOffset(long lastOffset) {
        lastMapOffset = lastOffset;
    }
Update the mapping with the given append information
storage/src/main/java/org/apache/kafka/storage/internals/log/ProducerStateManager.java