You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/FlinkBlueGreenDeploymentController.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -58,10 +58,10 @@
58
58
*
59
59
* <p>Orchestration Process
60
60
*
61
-
* <p>FlinkBlueGreenDeploymentController.reconcile() ↓ 1. Create BlueGreenContext with current
62
-
* deployment state ↓ 2. Query StateHandlerRegistry for appropriate handler ↓ 3. Delegate to
63
-
* specific StateHandler.handle(context) ↓ 4. StateHandler invokes BlueGreenDeploymentService
64
-
* operations ↓ 5. Return UpdateControl with next reconciliation schedule
61
+
* <p>FlinkBlueGreenDeploymentController.reconcile() 1. Create BlueGreenContext with current
62
+
* deployment state 2. Query StateHandlerRegistry for appropriate handler 3. Delegate to specific
Copy file name to clipboardExpand all lines: flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/bluegreen/BlueGreenDeploymentService.java
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -114,8 +114,8 @@ public UpdateControl<FlinkBlueGreenDeployment> checkAndInitiateDeployment(
114
114
if (isFlinkDeploymentReady(currentFlinkDeployment)) {
115
115
if (specDiff == BlueGreenDiffType.TRANSITION) {
116
116
if (handleSavepoint(context, currentFlinkDeployment)) {
117
-
// This is the only portion where the last reconciled spec is not set,
118
-
// so we can reprocess TRANSITION after the savepoint is done
117
+
// Spec is intentionally not marked as reconciled here to allow
118
+
// reprocessing the TRANSITION once savepoint creation completes
Copy file name to clipboardExpand all lines: flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/bluegreen/handlers/InitializingBlueStateHandler.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,8 @@ public InitializingBlueStateHandler(BlueGreenDeploymentService deploymentService
Copy file name to clipboardExpand all lines: flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/controller/bluegreen/handlers/SavepointingStateHandler.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ public UpdateControl<FlinkBlueGreenDeployment> handle(BlueGreenContext context)
Copy file name to clipboardExpand all lines: flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/utils/bluegreen/BlueGreenUtils.java
+24-5Lines changed: 24 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -219,6 +219,13 @@ public static void setAbortTimestamp(BlueGreenContext context) {
0 commit comments