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
Hi,I found FromSavepoint not work at first time.because jobStatus is not nil
varfromSavepoint=convertFromSavepoint(jobSpec, status.Components.Job, &status.Revision)
funcconvertFromSavepoint(jobSpec*v1beta1.JobSpec, jobStatus*v1beta1.JobStatus, revision*v1beta1.RevisionStatus) *string {
switch {
// Creating for the first timecasejobStatus==nil:
if!util.IsBlank(jobSpec.FromSavepoint) {
returnjobSpec.FromSavepoint
}
returnnil// Updating with FromSavepoint providedcaserevision.IsUpdateTriggered() &&!util.IsBlank(jobSpec.FromSavepoint):
returnjobSpec.FromSavepoint// Latest savepointcasejobStatus.SavepointLocation!="":
return&jobStatus.SavepointLocation// The savepoint from which current job was restoredcasejobStatus.FromSavepoint!="":
return&jobStatus.FromSavepoint
}
returnnil
}
it also was created at the fitst time.eg
The text was updated successfully, but these errors were encountered:
lppsuixn
added a commit
to lppsuixn/flink-on-k8s-operator
that referenced
this issue
May 5, 2022
Hi,I found FromSavepoint not work at first time.because jobStatus is not nil
it also was created at the fitst time.eg
The text was updated successfully, but these errors were encountered: