Skip to content

WS-2639 Modified annihilator to run on spools in multiple areas

Daniel Nemergut requested to merge ws2639-naasc_annihilator into 2.8.5-DEVELOPMENT

A few changes were needed to clean up both the DSOC and NAASC areas:

  • 2 new columns were added to the workflow_requests table and a change to the cleaned column's definition:
    • num_to_clean - integer (default 0) - number of areas that need cleaned, incremented each time a workflow adds spool directories to its workflow args
    • num_cleaned - integer (default 0) - number of areas that have been annihilated, incremented every time annihilator cleans a spool directory
    • cleaned - now a computed boolean column which is true when num_to_clean <= num_cleaned (less than is added just in case)
  • Annihilator now has a flag to only clean from the spool area (to be used in the NAASC cron)
  • Pexes are now deployed to NAASC at /lustre/naasc/web/almapipe/pipeline/naasc-<profile>/workspaces/sbin/

Merge request reports