acoustic-carpenter-78188
03/01/2023, 4:19 PMPhaseNotStarted)
• Webapi plugin try to allocate token
2 round (state: PhaseAllocationTokenAcquired, phase: queued):
• Plugin fail to create a task, and will not update the task state. The state is PhaseAllocationTokenAcquired in this round
• Task handler send the task event (queued) to admin
• However we transition the phase from queued to running here
• And we will record the node event (running) in the node executor
3 round (state: PhaseAllocationTokenAcquired, phase: running):
• Will try to create a task, and fail again
• In the screenshot below, you can see the node phase is running, but the task state is queued
4+ round
• Repeat 3 round
Update: we should just return nil if task metadata is nil
Type
☑︎ Bug Fix
☐ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☑︎ Smoke tested
☑︎ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
Before
image▾
image▾
acoustic-carpenter-78188
03/01/2023, 4:19 PM