WS-2639 Modified annihilator to run on spools in multiple areas
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 thecleaned
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 whennum_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/