@Override
  public ByteBuffer serializeToByteBuffer() {
    return byteBuffer;
  }
This class is used to represent the sync log request from IoTConsensus. That we use this class
rather than ByteBufferConsensusRequest is because the serialization method is different between
these two classes. And we need to separate them in DataRegionStateMachine when deserialize the
PlanNode from ByteBuffer
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/common/request/IoTConsensusRequest.java