Skip to content

Commit a5010e7

Browse files
authored
Fix: update cluster on scale up (#871)
1 parent ea7c7e1 commit a5010e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

controllers/flinkcluster/flinkcluster_util.go

+4
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,10 @@ func shouldUpdateJob(observed *ObservedClusterState) bool {
525525
}
526526

527527
func shouldUpdateCluster(observed *ObservedClusterState) bool {
528+
if isScaleUpdate(observed.revisions, observed.cluster) {
529+
return observed.updateState == UpdateStateInProgress
530+
}
531+
528532
var job = observed.cluster.Status.Components.Job
529533
return !job.IsActive() && observed.updateState == UpdateStateInProgress
530534
}

0 commit comments

Comments
 (0)