public void logSnapshotId(String id) throws IOException {
    os.write(id.getBytes(StandardCharsets.UTF_8));
    os.write("\n".getBytes(StandardCharsets.UTF_8));
  }
Log the snapshot id to identify this snapshot.

@param id
@throws IOException
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/snapshot/SnapshotLogger.java