-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Fix missing TaskInstanceHistory on scheduler TI resets #59639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
When a SchedulerJob is marked failed, orphaned task instances may be reset and re-scheduled, incrementing try_number without recording the abandoned attempt. This change records the current attempt into task_instance_history before resetting so users have a complete audit trail of the failure.
|
Hey, I have an issue that might be closed by this: |
Yeah, the log is consistent with what I got too |
…59639) When a SchedulerJob is marked failed, orphaned task instances may be reset and re-scheduled, incrementing try_number without recording the abandoned attempt. This change records the current attempt into task_instance_history before resetting so users have a complete audit trail of the failure. related #57618 (cherry picked from commit bca0a63) Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
|
@ephraimbuddy Would it be possible to backport it into 3.0.6? |
No. We do not backport fixes to previous minor branch - only to last minor release.
This is an open-source software that is released following ASF Apache Way and often by volunteers. And we haveo clear backport rules (best effort - only to latest minor version). Asking people to do more than that is asking them to do more of their volunteer time - when they are already providing you with viable options described above. If you cannot upgrade to latest relase done by the community, it's on you to take all the burden of backporting it to the version you want to stay on. This is open-source software and you are free to modify the software as you wish. |
…59639) (#59752) When a SchedulerJob is marked failed, orphaned task instances may be reset and re-scheduled, incrementing try_number without recording the abandoned attempt. This change records the current attempt into task_instance_history before resetting so users have a complete audit trail of the failure. related #57618 (cherry picked from commit bca0a63) Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
When a SchedulerJob is marked failed, orphaned task instances may be reset and re-scheduled, incrementing try_number without recording the abandoned attempt. This change records the current attempt into task_instance_history before resetting so users have a complete audit trail of the failure. related apache#57618
…59639) (#59752) When a SchedulerJob is marked failed, orphaned task instances may be reset and re-scheduled, incrementing try_number without recording the abandoned attempt. This change records the current attempt into task_instance_history before resetting so users have a complete audit trail of the failure. related #57618 (cherry picked from commit bca0a63) Co-authored-by: Ephraim Anierobi <splendidzigy24@gmail.com>
When a SchedulerJob is marked failed, orphaned task instances may be reset and re-scheduled, incrementing try_number without recording the abandoned attempt. This change records the current attempt into task_instance_history before resetting so users have a complete audit trail of the failure. related apache#57618
When a SchedulerJob is marked failed, orphaned task instances may be reset and re-scheduled, incrementing try_number without recording the abandoned attempt.
This change records the current attempt into task_instance_history before resetting so users have a complete audit trail of the failure.
related #57618