wildfly / wildfly-operator

Kubernetes Operator for WildFly
http://docs.wildfly.org/wildfly-operator/
Apache License 2.0
32 stars 39 forks source link

Clean up pod status for already deleted pods #291

Closed yersan closed 7 months ago

yersan commented 7 months ago

Once a pod is scaled down, the Operator will reconcile the pod status when the cluster emits the delete event of the recycled pod. However, there could be a case where the workload is scaled up again before processing this event. That will result in inconsistency and the pod could be started with SCALING_DOWN_CLEAN. That could affect the TX recovery if the pod is scaled down again before moving it to ACTIVE.