blindsidenetworks / scalelite

Scalable load balancer for BigBlueButton.
GNU Affero General Public License v3.0
465 stars 249 forks source link

Deletion of recordings related to the tenant along with its deletion #1045

Open mailalaki opened 5 months ago

mailalaki commented 5 months ago

One problem I encountered was that I thought that when a tenant is deleted, just as that tenant's recordings are separate from other recordings, its recordings will be deleted along with it. But it didn't happen and now I have a lot of extra recordings left on my server. While I would like to suggest that you include an option when deleting a tenant (for example, a switch for tenants:remove[id]) to delete all recordings related to it, I would like your help to delete the extra recordings of that tenant that are currently left on my server. get them to be deleted from both the files and the database. Thank you

Problem to solve: Deletion of recordings related to the tenant along with its deletion

Purposed solution: Adding an optional switch to the Tenant removal command for example: ./bin/rake tenants:remove[id] --remove-recordings or ./bin/rake tenants:removeRecordings[tenant-id]

mailalaki commented 4 months ago

No suggestion to solve my problem for now?

JeanPluzo commented 4 months ago

Hi,

I don't use tenants in SL, but I imagine/hope that the tenant info is stored in an xml file within each recording (metadata.xml). If a tenant's specific data is stored there you could search all your recordings for this specific information and then delete said recordings.

Regards, J.