We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e95b2d commit 7f00388Copy full SHA for 7f00388
pkg/controller/elasticsearch/driver/upscale.go
@@ -338,6 +338,12 @@ func findPendingNonMasterStatefulSetUpgrades(
338
continue
339
}
340
341
+ if actualStatefulSet.Status.ObservedGeneration < actualStatefulSet.Generation {
342
+ // The StatefulSet controller has not yet observed the latest generation.
343
+ pendingNonMasterSTS = append(pendingNonMasterSTS, actualStatefulSet)
344
+ continue
345
+ }
346
+
347
// Check if this StatefulSet has pending updates
348
if actualStatefulSet.Status.UpdatedReplicas != actualStatefulSet.Status.Replicas {
349
pendingNonMasterSTS = append(pendingNonMasterSTS, actualStatefulSet)
0 commit comments