Alluxio / k8s-operator

An operator for managing Alluxio system on Kubernetes cluster
https://www.alluxio.io/
Apache License 2.0
10 stars 8 forks source link

Update dataset status only if it exists when delete alluxio #24

Closed ssz1997 closed 1 year ago

ssz1997 commented 1 year ago

When we delete the alluxiocluster, we want update the corresponding dataset status, but this should only happen if the dataset exists. If the dataset has been deleted, we can't update its status. On line 69 if the dataset has been deleted, we update the status of the dataset object to not exist, which we can leverage here.

ssz1997 commented 1 year ago

@Kai-Zhang PTAL. Thanks!