luigi icon indicating copy to clipboard operation
luigi copied to clipboard

Disabled status handling issues

Open Salaander opened this issue 8 years ago • 1 comments

I set up my luigi worker for testing like this:

[core]
log_level=DEBUG

[scheduler]
retry_count=0
disable-window-seconds=10
remove_delay=600
retry_delay=10
worker_disconnect_delay=60
record_task_history = True
state_path = /home/salaander/projects/ltest/luigi-state.pickle

[task_history]
db_connection = sqlite:///luigi-task-hist.db

[worker]
keep_alive=true

Problem (bug) one (cannot replicate) A task has become DISABLED and after a few minutes changed to DONE without doing anything, the task has not been restarted, no worker was running. In the task history under the events there is no log of the DISABLED status only PENDING -> RUNNING -> DONE in the end.

Problem two (can replicate): If a task is running and becomes DISABLED it is not shown in the task history so if a DAG is blocked since a path contains a DISABLED task and I ask the status of this task from the task history I will only see PENDING -> RUNNING events not the DISABLED status. Is this the expected behavior or am I assuming correctly that the DISABLED status should be there?

If I have mistaken these for a problem but they are expected please point me to the documentation.

Salaander avatar Feb 13 '18 15:02 Salaander

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If closed, you may revisit when your time allows and reopen! Thank you for your contributions.

stale[bot] avatar Jul 31 '18 02:07 stale[bot]