Difference: NewProductionStatusMachine (2 vs. 3)

Revision 32011-05-03 - FedericoStagni

Line: 1 to 1
 
META TOPICPARENT name="ProductionStatusMachine"
This is a discussion page on the implementation of the new production status machine. Savannah tasks can be derived from here.
Line: 6 to 6
 The production status machine is now a bit confusing. What is missing is:

0. VERY clear documentation.

Changed:
<
<
1. A real status machine: depending from the production types, an automata has to be decided and implemented.
>
>
  1. A real status machine
 2. The current one is valid only for the MC request: some automation would be nice for the non-MC requests. 3. The current one does some operations (i.e. removing outputs and killing MC jobs) that are far from optimal.
Line: 16 to 16
 

Final, irreversible states:

Changed:
<
<
  • Archived
  • Cleaned
>
>
  • Archived
  • Cleaned
 

States reached only after manual operations:

Changed:
<
<
  • Stop
>
>
  • Stop
 
Changed:
<
<

1. A real status machine: depending from the production types, an automata has to be decided and implemented.

>
>

States

 
Added:
>
>
  • Idle. Reached when there are only 'Done' and 'Failed' jobs, and/or when there are no 'Unused' nor 'Assigned' files.
 
Added:
>
>

1. A real status machine

Proposal (possibly valid for all transformation types, but replication):

MC_sm.png

 For what regards implementation: there is generic state machine recently implemented for the RSS, that could probably be re-used.

-- FedericoStagni - 02-May-2011

Added:
>
>
META FILEATTACHMENT attachment="MC_sm.png" attr="" comment="" date="1304443750" name="MC_sm.png" path="MC_sm.png" size="18951" stream="MC_sm.png" tmpFilename="/usr/tmp/CGItemp57291" user="fstagni" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback