Canned/Queue based Delete Operations for ADO #229
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
Event Subscribers
You trigger things and I react to those
queue workers
Ones taking the FI and doing the FO
queue
FIFO
Reporting
Errors, Logs, etc.
UI
Buttons and pixels
Milestone
What?
When you have the need of deleting Objects, specially when dealing with hierarchies/nested/compounds and collections, we make use of VBO and filters/facets to narrow down the lists, or AMI sets (*using each ROW's UUID) via the "process deleted"
The first approach, even if needed (and will be kept) adds a level of difficulty to end users but also uncertainty. Delete operations don't have an UNDO. But also those lists might include multiples beyond the VBO limit (which is set via Solr), runs inline via AJAX (so disconnection from internet might leave things unfinished, or might even include children of a Collection where some of those children are CWS (compounds) with more children, which also implies more/secondary and manual deletions are needed to get rid of any left over orphans.
The second one, AMI sets, are the safest of course and give you complete control (one per row) of what is going to be deleted. But it either requires to keep/have the original AMI sets around, or run via VBO an CSV export that can then be used.
This ticket is here to enable a simpler operation without the fine grained options that VBO/Views based deletion list provides, but that ensures that there is 100% control over what is deleted, no orphans are left behind and uses a good backed algorithm based on a Queue processor (re-using a lot of code/functions we already have in AMI) to execute a deletion on the backed.
The main idea here is:
@alliomeria and I discussed the following ideas:
ipso facto
Please feel free to talk/share ideas, use cases, needs and concerns here
thanks
The text was updated successfully, but these errors were encountered: