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
I had searched in the issues and found no similar feature requirement.
Description
All tasks should use t_ds_task_instance_context to store its runtime context, runtime context represent its runtime info , once its runtime context changed, it should tell master to update its runtime context.
When task failover should copy runtime context to new task instance which is generated by failover and provide it's runtime context to task plugin to do failover, so task plugin should provide interface how to deserialze/serialize runtime context, and how to use runtime context to do failover.
The `TaskInstanceContext` is serialized as JSON string, this class contains
the context used or generated by task instance, is an interface, each task
can have its own type.
On Fri, Jan 3, 2025 at 5:13 PM lile ***@***.***> wrote:
May I ask, will you also write the calculated date parameters into
t_ds_task_instance_context?
And would you do it in the form of fields or JSON?
Lately, I've been thinking about how to optimize the logic where DEPENDENT
task uses scheduleTime.
The tricky parts right now are database efficiency issues and business
continuity problems caused by new objects and logic, especially the latter,
which will make upgrades quite challenging for 24/7 operation scenarios.
So, could you please give a hint about the next design step?
—
Reply to this email directly, view it on GitHub
<#16938 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFLAR2VHDLWJCJ3F6SN6CJ32IZID5AVCNFSM6AAAAABUOFWNX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRYHEYTCMBXG4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
Search before asking
Description
All tasks should use
t_ds_task_instance_context
to store its runtime context, runtime context represent its runtime info , once its runtime context changed, it should tell master to update its runtime context.When task failover should copy runtime context to new task instance which is generated by failover and provide it's runtime context to task plugin to do failover, so task plugin should provide interface how to deserialze/serialize runtime context, and how to use runtime context to do failover.
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: