gyfora commented on code in PR #633:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/633#discussion_r1266830357


##########
flink-kubernetes-operator-api/src/main/java/org/apache/flink/kubernetes/operator/api/status/CommonStatus.java:
##########
@@ -93,4 +95,10 @@ public ResourceLifecycleState getLifecycleState() {
 
         return ResourceLifecycleState.DEPLOYED;
     }
+
+    /**
+     * Internal flag to signal that due to some condition we need to schedule 
a new reconciliation
+     * loop immediately. For example autoscaler overrides have changed and we 
need to apply them.
+     */
+    @JsonIgnore @Internal private boolean immediateReconciliationNeeded = 
false;

Review Comment:
   Currently the immediate reconciliation logic for upgrades is somewhat 
implicitly computed from the status. We could actually use this flag to make 
this more explicit later which helps understand the control flow.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to