Idea #9277
Updated by Tom Clegg almost 8 years ago
h2. Background When a container finishes, crunch-run creates an output collection and records its PDH in the container record. On the API server, the container update triggers a hook that creates one copy of the output collection for each of N container requests that have been waiting Set trash_at to future date based on this container. The original output collection is owned by root and there is no cleanup process. h2. Proposed fix In crunch-run, create the output collection with trash_at=now. In the API server hook that creates a collection for each relevant container request, when looking up the container output manifest, make sure to include trashed collections in the search. cluster TTL