void setNextWriteOffset(long newNextWriteOffset) {
        this.nextWriteOffset = newNextWriteOffset;
    }
Called after we have finished loading a Raft snapshot.

@param timestamp The timestamp of the snapshot.
metadata/src/main/java/org/apache/kafka/controller/OffsetControlManager.java