gyfora commented on code in PR #464:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/464#discussion_r1039555267
##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/reconciler/deployment/ApplicationReconciler.java:
##########
@@ -125,7 +125,7 @@ protected Optional<UpgradeMode> getAvailableUpgradeMode(
if (status.getJobManagerDeploymentStatus() ==
JobManagerDeploymentStatus.MISSING
|| status.getJobManagerDeploymentStatus() ==
JobManagerDeploymentStatus.ERROR) {
- throw new DeploymentFailedException(
+ throw new RecoveryFailureException(
"JobManager deployment is missing and HA data is not
available to make stateful upgrades. "
+ "It is possible that the job has finished or
terminally failed, or the configmaps have been deleted. "
+ "Manual restore required.",
Review Comment:
This almost certainly means that the operator cannot restore this anymore.
The user needs to delete the CR and recover using initialSavepoontPath at this
stage
--
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]