public synchronized Iterator<T> iterator() {
    readCopy = new ArrayList<>(data);
    return readCopy.iterator();
  }
this class can just guarantee some behavior in a concurrent thread safety mode:

@param <T>
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CopyOnReadLinkedList.java