public void buildSerializedRequests() {
    this.requests.forEach(
        r -> {
          ByteBuffer buffer = r.serializeToByteBuffer();
          this.serializedRequests.add(buffer);
          this.memorySize += Long.max(buffer.capacity(), r.getMemorySize());
        });
  }
we do not need to serialize these two fields as they are useless in other nodes.
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/common/request/IndexedConsensusRequest.java