Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-bulk: fix bug in archiver deletion query
Motivation: The archiver should delete only requests that are in terminal state. State is missing as part of the actual delete query! Also, we should not delete INCOMPLETE requests as there is the slight possibility the archiver could be running while an initial insertion is taking place and could slice it (as the three table insertions are not in the same transaction). Modification: Add the states and remove `INCOMPLETE`. Result: Correct behavior which does not risk deleting ongoing active requests. (This was in fact observed during testing.) Target: master Request: 9.2 Patch: https://rb.dcache.org/r/14141/ Requires-notes: yes (potentially could drop requests which have not finished) Acked-by: Tigran
- Loading branch information