This is a discussion page on the implementation of the new production status machine. Savannah tasks can be derived from here.

The production status machine is now a bit confusing. What is missing is:

  1. VERY clear documentation.
  2. A real status machine
  3. The current one is valid only for the MC request: some automation would be nice for the non-MC requests.
  4. The current one does some operations (i.e. removing outputs and killing MC jobs) that are far from optimal.

0. Some documentation is missing.

Clear definitions of status:

Final, irreversible states:

  • Archived
  • Cleaned

States reached only after manual operations:

  • Stop

States

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

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.

The "removing output" phase can be dropped, instead we should flush the merging productions (first stopping the MC prod, and waiting for them until they are idle). Also, remove the name "Validating input" to MC which really does not makes sense.

-- FedericoStagni - 02-May-2011

Topic attachments
I Attachment History Action Size Date Who CommentSorted ascending
PNGpng MC_sm.png r1 manage 18.5 K 2011-05-03 - 19:29 FedericoStagni  
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r4 - 2012-05-23 - FedericoStagni
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

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