(no) Pre batch processing task state (Option 3)#6861
(no) Pre batch processing task state (Option 3)#6861dwsutherland wants to merge 2 commits intocylc:8.6.xfrom
Conversation
|
This seems like the right sort of fix (i.e, get the task status right first time). If I'm reading this correctly:
If I'm understanding correctly, the root cause is that the data store is trying to push out incomplete deltas before it has actually gathered all of the required information. This (only?) happens on reload. If so, could we not just delay sending the deltas (after reload) until they are complete (i.e, after we have finished the first walk)? |
it applies stateless deltas before the historical batch is applied, yes.
It also processes the batch before any associated deltas are applied too. |
53e5fcc to
eccba64
Compare
|
Have rebased this against |
I'm not convinced this is the case. The data store shouldn't yield any deltas until the process has completed (both logically and from the code): cylc-flow/cylc/flow/data_store_mgr.py Line 707 in a12a458 I have also managed to reproduce this example without any historical data to load - #6567 (comment) Unfortunately, the issue still reproduces on this branch :( |
Yes, but TUI doesn't get publish deltas, it asks for a dump.. Maybe I need to go back to the drawing board of what I think is happening |
|
(unassigning this to re-focus my review queue, feel free to re-assign when undrafted) |
closes #6567, closes #6860, closes #6859
Tasks batched (for DB read) during a graph walk, and processed at the end of that walk.
Window resizes typically include many walks (for each active task), so the DB will have that many calls.
However, no
state-less tasks will exist.Check List
CONTRIBUTING.mdand added my name as a Code Contributor.setup.cfg(andconda-environment.ymlif present).?.?.xbranch.