public synchronized AbstractResultListener succeed() {
    status = Status.SUCCESS;
    if (wait) {
      this.notifyAll();
    }
    return this;
  }
Set status to success and notify all threads waiting for the result.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/utils/listener/AbstractResultListener.java