QutEcoacoustics / baw-server

The acoustic workbench server for storing and managing ecoacoustic data. Manages the structure and audio data. Provides an API for clients access.
Apache License 2.0
9 stars 4 forks source link

Deletion epic #656

Open atruskie opened 1 year ago

atruskie commented 1 year ago

What happens when a record is deleted?

We currently mostly avoid dealing with this via soft deletes, but now that users can upload their own data there is a renewed need to properly be able to delete data.

There are huge flow on effects for deleting some models. Like: locked database for 60 seconds as millions of records are affected. The interactions between various data models are hugely complicated too.

Not all models need detailed consideration, but conservatively, any models that we currently have soft deletes enabled on need to be considered.

Specs need to cover: