Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ap_verify
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:AP F20-4 (September)
-
Team:Alert Production
Description
The Gen 3 lsst.obs.base.RawIngestTask can be passed the number of processes to use for ingesting in parallel. This could potentially greatly speed up the processing of large datasets like HiTS2015. Propagate the existing ap_verify.py -j flag to Gen 3 ingestion.
It turns out that multiprocessing RawIngestTask requires creating parallel copies of its parent task(s) (see Slack for discussion). This is a problem, since Gen3DatasetIngestTask (in particular, its initialization) was not designed for parallel use.
While not geared toward race conditions,
DM-26237should at least prevent initialization of multiple Gen3DatasetIngestTask instances from causing a problem. Delay this issue until then.