Update percentage completion or any metadata for a task #2354
-
I am using the conductor version v3.0.6. I wanted to update the percentage complete for a task and some other data (in the output). If I call conductor's update task api from my worker with output as percentage value during the execution of the task, the conductor actually puts the task again in the queue to be polled. I just wanted to updated some output in the update task call and nothing else, the worker should just update the task and continue its execution. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
@ChaitanyaTessell Task logs is a better place to do this. This is append only, compared to over-writing task output. Updating the task releases the worker lease, and goes through another cycle of poll and execute on a different worker. Renewing the task lease on same worker and continuing the execution is not supported today. Should you be interested, feel free to open a discussion with your proposal. |
Beta Was this translation helpful? Give feedback.
@ChaitanyaTessell Task logs is a better place to do this. This is append only, compared to over-writing task output.
Updating the task releases the worker lease, and goes through another cycle of poll and execute on a different worker. Renewing the task lease on same worker and continuing the execution is not supported today. Should you be interested, feel free to open a discussion with your proposal.